/** * Returns the name of an object's type. * * If the input is undefined, returns 'Undefined'. * If the input is null, returns 'Null'. * If the input is a boolean, returns 'Boolean'. * If the input is a number, returns 'Number'. * If the input is a string, returns 'String'. * If the input is a named function or a class constructor, returns 'Function'. * If the input is an anonymous function, returns 'AnonymousFunction'. * If the input is an arrow function, returns 'ArrowFunction'. * If the input is a class instance, returns 'Object'. * * @param {Object} object an object * @return {String} the name of the object's class * @see https://stackoverflow.com/a/332429/14731 * @see getFunctionName * @see getObjectClass */ export declare function getTypeName(object: any): any; /** * @param {Object} object an object * @return {String} the name of the object's class * @throws {TypeError} if {@code object} is not an Object * @see getTypeName */ export declare function getObjectClass(object: Object): string;