32 lines
588 B
Plaintext
32 lines
588 B
Plaintext
|
|
||
|
{{alias}}()
|
||
|
Returns a regular expression to match a native function.
|
||
|
|
||
|
Returns
|
||
|
-------
|
||
|
re: RegExp
|
||
|
Regular expression.
|
||
|
|
||
|
Examples
|
||
|
--------
|
||
|
> var RE = {{alias}}();
|
||
|
> var bool = RE.test( Date.toString() )
|
||
|
true
|
||
|
> bool = RE.test( (function noop() {}).toString() )
|
||
|
false
|
||
|
|
||
|
|
||
|
{{alias}}.REGEXP
|
||
|
Regular expression to match a native function.
|
||
|
|
||
|
Examples
|
||
|
--------
|
||
|
> var bool = {{alias}}.REGEXP.test( Date.toString() )
|
||
|
true
|
||
|
> bool = {{alias}}.REGEXP.test( (function noop() {}).toString() )
|
||
|
false
|
||
|
|
||
|
See Also
|
||
|
--------
|
||
|
|