time-to-botec/squiggle/node_modules/@stdlib/regexp/native-function/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

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
--------