@stdlib/assert
Version:
Standard assertion utilities.
28 lines (21 loc) • 443 B
Plain Text
{{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
--------