MCPcopy
hub / github.com/teivah/100-go-mistakes / isRegExp

Function isRegExp

site/assets/javascripts/lunr/wordcut.js:6573–6575  ·  view source on GitHub ↗
(re)

Source from the content-addressed store, hash-verified

6571exports.isUndefined = isUndefined;
6572
6573function isRegExp(re) {
6574 return isObject(re) && objectToString(re) === '[object RegExp]';
6575}
6576exports.isRegExp = isRegExp;
6577
6578function isObject(arg) {

Callers 1

formatValueFunction · 0.85

Calls 2

isObjectFunction · 0.85
objectToStringFunction · 0.85

Tested by

no test coverage detected