LoudBit / is-too

Javascript type checking tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add `is.match`

mrDarcyMurphy opened this issue · comments

is.match will run the subject against the provided regex standard.

var rx = /foo/
is.rx(rx) // true
is.match('foo', rx) // true