tailwindcss-3d
Version:
Add 3D transforms to your TailwindCSS project
9 lines (8 loc) • 473 B
TypeScript
type GuardTest = (arg: any) => boolean;
type GuardTests = GuardTest | GuardTest[];
type GuardTestGroups = GuardTests[];
export declare const generateGuard: <T>(...testGroups: GuardTestGroups) => (maybe?: unknown) => maybe is T;
export declare const isGuardTest: (maybe?: unknown) => maybe is GuardTest;
export declare const isGuardTests: (maybe?: unknown) => maybe is GuardTests;
export declare const isGuardTestGroups: (maybe?: unknown) => maybe is GuardTests;
export {};