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

27 lines
420 B
Plaintext
Raw Normal View History

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