@typed/io
Version:
Runtime IO type system
13 lines • 412 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.guard = exports.Guard = void 0;
const lambda_1 = require("@typed/lambda");
var Guard;
(function (Guard) {
Guard.is = (is) => ({ is });
})(Guard = exports.Guard || (exports.Guard = {}));
exports.guard = lambda_1.curry(__guard);
function __guard(guard, value) {
return guard.is(value);
}
//# sourceMappingURL=Guard.js.map