@typescript-package/core
Version:
A TypeScript library with features used across other `typescript-package` libraries.
8 lines (7 loc) • 367 B
TypeScript
/**
* @description Gets the specific object class type of any value.
* @param {*} value Any value to check its object class type.
* @returns {string} The return value is a `string` of the object class name.
* @author https://javascript.plainenglish.io/the-best-way-to-type-check-in-vanilla-js-55197b4f45ec
*/
export declare const typeOf: (value: any) => string;