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

28 lines
443 B
Plaintext
Raw Normal View History

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