Plato on Github
Report Home
node_modules/es5-ext/array/valid-array.js
Maintainability
78.65
Lines of code
8
Difficulty
7.78
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; var isArray = Array.isArray; module.exports = function (value) { if (isArray(value)) return value; throw new TypeError(value + " is not an array"); };