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.

9 lines 282 B
import type { Guard } from "../types"; export interface BigIntConstraints { min?: bigint; max?: bigint; positive?: boolean; negative?: boolean; } export declare function isBigInt(constraints?: BigIntConstraints): Guard<bigint>; //# sourceMappingURL=isBigInt.d.ts.map