repl.txt (484B)
1 2 {{alias}}( value ) 3 Tests if a value is a regular expression string. 4 5 Parameters 6 ---------- 7 value: any 8 Value to test. 9 10 Returns 11 ------- 12 bool: boolean 13 Boolean indicating whether value is a regular expression string. 14 15 Examples 16 -------- 17 > var bool = {{alias}}( '/beep/' ) 18 true 19 > bool = {{alias}}( 'beep' ) 20 false 21 > bool = {{alias}}( '' ) 22 false 23 > bool = {{alias}}( null ) 24 false 25 26 See Also 27 -------- 28