Plato on Github
Report Home
node_modules/es5-ext/object/is-object.js
Maintainability
89.53
Lines of code
7
Difficulty
8.00
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; var map = { 'function': true, 'object': true }; module.exports = function (x) { return ((x != null) && map[typeof x]) || false; };