UNPKG

@typed/io

Version:

Runtime IO type system

10 lines 270 B
import { curry } from '@typed/lambda'; export var Guard; (function (Guard) { Guard.is = (is) => ({ is }); })(Guard || (Guard = {})); export const guard = curry(__guard); function __guard(guard, value) { return guard.is(value); } //# sourceMappingURL=Guard.js.map