UNPKG

typescriptkit

Version:

Basic functionality for TypeScript projects

37 lines (36 loc) 1.17 kB
/** * Helper Utility for system types */ export declare class SystemTypeHelper { /** * Check whether an object is an array * @param object The object to check whether it it's an array */ static isArray: (object: any) => boolean; /** * Check whether an object is an object * @param object The object to check whether it it's an object */ static isObject: (object: any) => boolean; /** * Check whether an object is a string * @param object The object to check whether it it's an object */ static isString: (object: any) => boolean; /** * Check whether an object is a function * @param object The object to check whether it it's a function */ static isFunction: (object: any) => boolean; /** * Check whether an object is a numeric value * @param object The object to check whether it it's a number */ static isNumber: (object: any) => boolean; /** * Check whether an object is a boolean value * @param object The object to check whether it it's a boolean */ static isBoolean: (object: any) => boolean; } export default SystemTypeHelper;