UNPKG

@frauschert/ts-guard

Version:

ts-guard is a typescript library that provides composable type guards. Its inspired by zod but focusses only on type guards and is more lightweight.

7 lines 212 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isBoolean = isBoolean; function isBoolean() { return (x) => typeof x === "boolean"; } //# sourceMappingURL=isBoolean.js.map