1 | /**
|
2 | * Returns a string with the data type from given value.
|
3 | * @example
|
4 | * typeOf('hello'); // output: string
|
5 | * typeOf(function() {}); // output: function
|
6 | * typeOf(new Date()); // output: date
|
7 | * @param value
|
8 | * @return {string}
|
9 | */
|
10 | declare const typeOf: <T>(value: T) => string;
|
11 | export default typeOf;
|