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