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.

3 lines 198 B
import type { Guard } from "../types"; export declare function isInstanceOf<T extends new (...args: any[]) => any>(constructor: T): Guard<InstanceType<T>>; //# sourceMappingURL=isInstanceOf.d.ts.map