UNPKG

867 BTypeScriptView Raw
1export function callAll(fs: Array<Function>, args: Array<any>, i?: number): void;
2export function nop(): void;
3export function apply<T>(f: () => T): T;
4export function id<A>(a: A): A;
5export function equalityStrict<T>(a: T, b: T): boolean;
6export function equalityFlat<T>(a: object | T[], b: object | T[]): boolean;
7export function equalityDeep(a: any, b: any): boolean;
8export function isOneOf<V, OPTS extends V>(value: V, options: OPTS[]): boolean;
9export const isArray: (arg: any) => arg is any[];
10export function isString(s: any): s is string;
11export function isNumber(n: any): n is number;
12export function is<TYPE extends abstract new (...args: any) => any>(n: any, T: TYPE): n is InstanceType<TYPE>;
13export function isTemplate<TYPE extends abstract new (...args: any) => any>(T: TYPE): (n: any) => n is InstanceType<TYPE>;
14//# sourceMappingURL=function.d.ts.map
\No newline at end of file