Plato on Github
Report Home
node_modules/es5-ext/reg-exp/#/search/is-implemented.js
Maintainability
78.13
Lines of code
8
Difficulty
6.36
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; var re = /foo/; module.exports = function () { if (typeof re.search !== 'function') return false; return re.search('barfoo') === 3; };