@amphibian/is-regexp

regexp type checker

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
Minified + 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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.