RegExp.test
test — Use the regular expression as a match test.
Description
RegExp.test(string string)
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
string | string | No |
Return values
boolean primitive.
Examples
Example #1 – test example