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

25 lines
401 B
Plaintext
Raw Normal View History

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