@amphibian/is-regexp

regexp type checker

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@amphibian/is-regexp
1.0.26 years ago6 years agoMinified + gzip package size for @amphibian/is-regexp in KB

Readme

is-regexp
build status
regexp type checker
npm install @amphibian/is-regexp

var isRegExp = require('@amphibian/is-regexp');

isRegExp('test'); // > false
isRegExp(/bazinga/); // > true
isRegExp(new RegExp('bazinga')); // > true