setup-maven-cached/node_modules/underscore/cjs/isBoolean.js
2022-06-28 10:39:30 +02:00

9 lines
218 B
JavaScript

var _setup = require('./_setup.js');
// Is a given value a boolean?
function isBoolean(obj) {
return obj === true || obj === false || _setup.toString.call(obj) === '[object Boolean]';
}
module.exports = isBoolean;