Checks whether value can be used to match against a string: a string, a RegExp, or a predicate function.
value
Checks whether
valuecan be used to match against a string: a string, a RegExp, or a predicate function.