MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / isRegExp

Function isRegExp

lib/web/jshint.js:1289–1291  ·  view source on GitHub ↗
(re)

Source from the content-addressed store, hash-verified

1287exports.isUndefined = isUndefined;
1288
1289function isRegExp(re) {
1290 return isObject(re) && objectToString(re) === '[object RegExp]';
1291}
1292exports.isRegExp = isRegExp;
1293
1294function isObject(arg) {

Callers 2

formatValueFunction · 0.85
truncFunction · 0.85

Calls 4

objectToStringFunction · 0.85
isObjectLikeFunction · 0.85
isObjectFunction · 0.70
callMethod · 0.45

Tested by

no test coverage detected