UNPKG

@doubco/wtf

Version:
32 lines (31 loc) 1.32 kB
export declare const isString: (i: any) => boolean; export declare const isArray: (i: any) => boolean; export declare const isObject: (i: any) => boolean; export declare const isDate: (value: any) => boolean; export declare const isFunction: (i: any) => any; export declare const isFloat: (n: any) => boolean; export declare const isInteger: (n: any) => boolean; export declare const isNumber: (n: any) => boolean; export declare const isEmpty: (value: any) => true | undefined; export declare const isRegExp: (input: any) => boolean; export declare const isBoolean: (input: any) => boolean; export declare const isISO8601: (input: string) => boolean; export declare const isNull: (i: any) => boolean; export declare const isColor: (input: string) => boolean; declare const WTF: { string: (i: any) => boolean; object: (i: any) => boolean; date: (value: any) => boolean; fn: (i: any) => any; array: (i: any) => boolean; float: (n: any) => boolean; integer: (n: any) => boolean; number: (n: any) => boolean; regexp: (input: any) => boolean; boolean: (input: any) => boolean; empty: (value: any) => true | undefined; ISO8601: (input: string) => boolean; color: (input: string) => boolean; null: (i: any) => boolean; }; export default WTF;