_.isRegExp(value)
Checks if value
is classified as a RegExp
object.
Since
0.1.0
Arguments
-
value
(*): The value to check.
Returns
(boolean): Returns true
if value
is a regexp, else false
.
Example
_.isRegExp(/abc/); // => true _.isRegExp('/abc/'); // => false
Please login to continue.