utils.d.ts 562 B

123456789
  1. export declare type Key = string | number;
  2. export declare type Comparator = (a: any, b: any) => boolean;
  3. export declare const typeChecker: <TType>(type: any) => (value: any) => value is TType;
  4. export declare const comparable: (value: any) => any;
  5. export declare const isArray: (value: any) => value is any[];
  6. export declare const isObject: (value: any) => value is Object;
  7. export declare const isFunction: (value: any) => value is Function;
  8. export declare const isVanillaObject: (value: any) => boolean;
  9. export declare const equals: (a: any, b: any) => boolean;