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

25 lines
406 B
Plaintext
Raw Normal View History

{{alias}}( value )
Tests if a value is an ArrayBuffer.
Parameters
----------
value: any
Value to test.
Returns
-------
bool: boolean
Boolean indicating whether value is an ArrayBuffer.
Examples
--------
> var bool = {{alias}}( new {{alias:@stdlib/array/buffer}}( 10 ) )
true
> bool = {{alias}}( [] )
false
See Also
--------