time-to-botec/js/node_modules/@stdlib/assert/is-regexp/docs/repl.txt

25 lines
383 B
Plaintext
Raw Normal View History

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