29 lines
484 B
Plaintext
29 lines
484 B
Plaintext
|
|
{{alias}}( value )
|
|
Tests if a value is a regular expression string.
|
|
|
|
Parameters
|
|
----------
|
|
value: any
|
|
Value to test.
|
|
|
|
Returns
|
|
-------
|
|
bool: boolean
|
|
Boolean indicating whether value is a regular expression string.
|
|
|
|
Examples
|
|
--------
|
|
> var bool = {{alias}}( '/beep/' )
|
|
true
|
|
> bool = {{alias}}( 'beep' )
|
|
false
|
|
> bool = {{alias}}( '' )
|
|
false
|
|
> bool = {{alias}}( null )
|
|
false
|
|
|
|
See Also
|
|
--------
|
|
|