The string to test
Either a regex or a string against which value
will be matched
If true, value
must match pattern
exactly. If false, value
will match
pattern
if it contains pattern
. Only applies to string-type patterns.
Generated using TypeDoc
Checks if the given value matches a regex or string