Plato on Github
Report Home
node_modules/es5-ext/object/valid-callable.js
Maintainability
78.11
Lines of code
6
Difficulty
6.88
Estimated Errors
0.03
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (fn) { if (typeof fn !== 'function') throw new TypeError(fn + " is not a function"); return fn; };