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

29 lines
485 B
Plaintext
Raw Normal View History

{{alias}}( value )
Tests if a value is PRNG-like.
Parameters
----------
value: any
Value to test.
Returns
-------
bool: boolean
Boolean indicating whether a value is PRNG-like.
Examples
--------
> var bool = {{alias}}( {{alias:@stdlib/random/base/randu}} )
true
> bool = {{alias}}( [ 1, 2, 3, 4 ] )
false
> bool = {{alias}}( 3.14 )
false
> bool = {{alias}}( {} )
false
See Also
--------