@stdlib/assert
Version:
Standard assertion utilities.
26 lines (19 loc) • 403 B
Plain Text
{{alias}}( value )
Tests if a value is an arrow function.
Parameters
----------
value: any
Value to test.
Returns
-------
bool: boolean
Boolean indicating whether value is an arrow function.
Examples
--------
> function beep() {};
> var bool = {{alias}}( beep )
false
> bool = {{alias}}( {} )
false
See Also
--------