@cookbook/dot-notation
Version:
Object readings and complex transformations using dot notation syntax.
12 lines (11 loc) • 330 B
TypeScript
/**
* Returns a string with the data type from given value.
* @example
* typeOf('hello'); // output: string
* typeOf(function() {}); // output: function
* typeOf(new Date()); // output: date
* @param value
* @return {string}
*/
declare const typeOf: (value: unknown | unknown[]) => string;
export default typeOf;