is-reg-exp
v4.17.15arrow_drop_downv4.17.15
v4.17.11
STATUS
Passing
DOWNLOADS
291
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
Checks if `value` is classified as a `RegExp` object.
Like
Install is-reg-exp as a package?
Copied
npm i @bit/lodash.lodash.is-reg-exp
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
isRegExp (
value:
) : *
boolean
Checks if value
is classified as a RegExp
object.
Example
Argument
value:
*
The value to check.
Returns
boolean
Returns `true` if `value` is a regexp, else `false`.