is-regexp

WebJar for is-regexp

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-regexp
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

is-regexp
WebJar for is-regexp
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/is-regexp

Download is-regexp

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-regexp/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>is-regexp</artifactId>
    <version>2.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-regexp/
implementation 'org.webjars.npm:is-regexp:2.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/is-regexp/
implementation ("org.webjars.npm:is-regexp:2.1.0")
'org.webjars.npm:is-regexp:jar:2.1.0'
<dependency org="org.webjars.npm" name="is-regexp" rev="2.1.0">
  <artifact name="is-regexp" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-regexp', version='2.1.0')
)
libraryDependencies += "org.webjars.npm" % "is-regexp" % "2.1.0"
[org.webjars.npm/is-regexp "2.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

is-regexp Build Status

Check if a value is a regular expression

Install

$ npm install is-regexp

Usage

const isRegexp = require('is-regexp');

isRegexp('unicorn');
//=> false

isRegexp(/unicorn/);
//=> true

isRegexp(new RegExp('unicorn'));
//=> true

Related

  • is - Type check values

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Versions

Version
2.1.0
1.0.0