doublescore
Version:
Utility functions for managing data structures and measurement.
7 lines (6 loc) • 400 B
TypeScript
declare type TypeNames = 'null' | 'array' | 'date' | 'regex' | 'number' | 'object' | 'function' | 'not-a-number' | 'infinity' | 'float' | 'integer' | 'undefined';
declare const isArray: (arg: any) => boolean;
declare const isNumber: (arg: any) => boolean;
declare const isObject: (arg: any) => boolean;
declare const getType: (arg: any) => TypeNames;
export { isArray, isNumber, isObject, getType };