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.

4 lines 187 B
import { EnumLike } from "../../types"; import { Guard } from "../types"; export declare function isEnum<T extends EnumLike>(e: T): Guard<T[keyof T]>; //# sourceMappingURL=isEnum.d.ts.map