time-to-botec/js/node_modules/@stdlib/assert/is-primitive/docs/repl.txt

25 lines
386 B
Plaintext
Raw Normal View History

{{alias}}( value )
Tests if a value is a JavaScript primitive.
Parameters
----------
value: any
Value to test.
Returns
-------
bool: boolean
Boolean indicating whether value is a JavaScript primitive.
Examples
--------
> var bool = {{alias}}( true )
true
> bool = {{alias}}( {} )
false
See Also
--------