Plato on Github
Report Home
node_modules/es5-ext/test/boolean/is-boolean.js
Maintainability
66.58
Lines of code
12
Difficulty
6.26
Estimated Errors
0.11
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (t, a) { a(t('arar'), false, "String"); a(t(12), false, "Number"); a(t(false), true, "Boolean"); a(t(new Boolean(false)), true, "Boolean object"); a(t(new Date()), false, "Date"); a(t(new String('raz')), false, "String object"); a(t({}), false, "Plain object"); a(t(/a/), false, "Regular expression"); };