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

26 lines
388 B
Plaintext
Raw Normal View History

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