method RegExp.test
Private
RegExp.test(string: string): boolean

Returns a Boolean value that indicates whether or not a pattern exists in a searched string.

Parameters

string: string

String on which to perform the search.

Return Type

boolean