Plato on Github
Report Home
node_modules/es5-ext/test/function/#/not.js
Maintainability
74.02
Lines of code
11
Difficulty
6.16
Estimated Errors
0.10
Function weight
By Complexity
By SLOC
'use strict'; var identity = require('../../../function/identity') , noop = require('../../../function/noop'); module.exports = function (t, a) { a(t.call(identity)(''), true, "Falsy"); a(t.call(noop)(), true, "Undefined"); a(t.call(identity)({}), false, "Any object"); a(t.call(identity)(true), false, "True"); };