MCPcopy Create free account
hub / github.com/RubyLouvre/anu / isRegExp

Function isRegExp

test/babel.js:11063–11065  ·  view source on GitHub ↗
(re)

Source from the content-addressed store, hash-verified

11061 exports.isUndefined = isUndefined;
11062
11063 function isRegExp(re) {
11064 return isObject(re) && objectToString(re) === '[object RegExp]';
11065 }
11066 exports.isRegExp = isRegExp;
11067
11068 function isObject(arg) {

Callers 1

formatValueFunction · 0.85

Calls 2

isObjectFunction · 0.70
objectToStringFunction · 0.70

Tested by

no test coverage detected