time-to-botec/squiggle/node_modules/@stdlib/assert/is-arrow-function/docs/repl.txt

26 lines
403 B
Plaintext
Raw Normal View History

{{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
--------