@vergiss/chooks
Version:
React hooks library
12 lines (11 loc) • 699 B
TypeScript
declare function getType(target: any): string;
declare function isArray(target: any): target is Array<any>;
declare function isFunction(target: any): target is (...args: any[]) => any;
declare function isObject(target: any): target is Record<string, unknown>;
declare function isString(target: any): target is string;
declare function isNumber(target: any): target is number;
declare function isInt(target: any): target is number;
declare function isFloat(target: any): target is number;
declare function isNull(target: any): target is null;
declare function isDate(target: any): target is Date;
export { getType, isNumber, isInt, isFloat, isArray, isFunction, isNull, isObject, isString, isDate };