/** * Type check */ type Primitive = string | number | boolean | null | undefined | symbol | bigint; type JSONValue = string | number | boolean | null | JSONObject | JSONArray; interface JSONObject { [key: string]: JSONValue; } interface JSONArray extends Array { } export declare const isArguments: (obj: any) => obj is IArguments; export declare const isSymbol: (obj: any) => obj is symbol; export declare const isSet: (obj: any) => obj is Set; export declare const isWeakSet: (obj: any) => obj is WeakSet; export declare const isMap: (obj: any) => obj is Map; export declare const isWeakMap: (obj: any) => obj is WeakMap; export declare function isArray(obj: any): obj is Array; export declare function isDate(obj: any): obj is Date; export declare function isRegExp(obj: any): obj is RegExp; export declare function isError(obj: any): obj is Error; export declare function isSyntaxError(obj: any): obj is SyntaxError; export declare function isTypeError(obj: any): obj is TypeError; export declare function isRangeError(obj: any): obj is RangeError; export declare function isObject(obj: any): obj is Record; export declare function isFunction(obj: any): obj is Function; export declare function isNull(obj: any): obj is null; export declare function isUndefined(obj: any): obj is undefined; export declare function isNill(obj: any): obj is null | undefined; export declare function isBoolean(obj: any): obj is boolean; export declare function isString(obj: any): obj is string; export declare function isChar(obj: any): obj is string; export declare function isNumber(obj: any, warn?: boolean): obj is number; export declare function isNaN(obj: any): boolean; export declare function isRealNumber(obj: any): obj is number; export declare function isPrimitive(obj: any): obj is Primitive; export declare function isSpreadable(obj: any): obj is Array | Record; export declare function isJSON(obj: any): obj is JSONValue; export interface ObjectExtensions { isEmpty: (obj: any, ownCheck?: boolean) => boolean; isEmptyOwn: (obj: any) => boolean; isFlat: (obj: any) => boolean; } export interface NumberExtensions { decimal: (obj: any) => boolean; integer: (obj: any) => boolean; odd: (obj: any) => boolean; even: (obj: any) => boolean; } export declare function getTypeOf(obj: any): string; export {};