Plato on Github
Report Home
node_modules/es5-ext/reg-exp/#/match/is-implemented.js
Maintainability
76.85
Lines of code
8
Difficulty
8.00
Estimated Errors
0.05
Function weight
By Complexity
By SLOC
'use strict'; var re = /foo/; module.exports = function () { if (typeof re.match !== 'function') return false; return re.match('barfoobar') && !re.match('elo'); };