helene
Version:
Real-time Web Apps for Node.js
19 lines (18 loc) • 897 B
TypeScript
export declare const isFunction: (fn: any) => boolean;
export declare const isObject: (fn: any) => boolean;
export declare const keysOf: (obj: any) => string[];
export declare const lengthOf: (obj: any) => number;
export declare const hasOwn: (obj: any, prop: any) => any;
export declare const convertMapToObject: (map: any) => unknown;
export declare const isArguments: (obj: any) => any;
export declare const isInfOrNaN: (obj: any) => boolean;
export declare const checkError: {
maxStack: (msgError: any) => boolean;
};
export declare const handleError: (fn: any) => (...args: any[]) => any;
export declare const quote: (string: any) => string;
export type PolyfillableArray = Array<number> & {
$Uint8ArrayPolyfill?: boolean;
};
export declare const newBinary: (len: number) => PolyfillableArray | Uint8Array<ArrayBuffer>;
export declare const isObjectAndNotNull: (obj: any) => boolean;