typeof function
typeof 0
typeof {}
typeof ""
typeof undefined
Returns true if the value parameter is a boolean.
Returns true if the value parameter is a function.
Returns true if the value parameter is a number.
Default is true.
Returns true if the value parameter is an object.
If false (default) null is not considered an object.
Returns true if the value is a boolean, string, number, null, or undefined.
Returns true if the value parameter is a string.
Returns true if is a number and is NaN.
Guarantees a number value or NaN instead.
Generated using TypeDoc
typeof true
{string}