LoudBit / is-too

Javascript type checking tool.
1 stars 0 forks source link

add `is.match` #4

Closed mrDarcyMurphy closed 9 years ago

mrDarcyMurphy commented 10 years ago

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

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