@nex-ui/utils
Version:
Utility functions for React components.
9 lines (7 loc) • 452 B
TypeScript
declare const isNumber: (value?: any) => value is number;
declare const isFunction: (value?: any) => value is (...args: any[]) => any;
declare const isPlainObject: (value: any) => boolean;
declare const isString: (value?: any) => value is string;
declare const isUndefined: (value?: any) => value is undefined;
declare const isArray: (value: any) => value is Array<any>;
export { isArray, isFunction, isNumber, isPlainObject, isString, isUndefined };