The lodash method _.isBoolean
exported as a Node.js module.
Using npm:
bash
$ {sudo -H} npm i -g npm
$ npm i --save lodash.isboolean
In Node.js:
js
var isBoolean = require('lodash.isboolean');
See the documentation or package source for more details.