objeto booleano js
var bol = new Boolean(false);
FlashingMustard
var bol = new Boolean(false);
if (typeof variable === "boolean"){
// variable is a boolean
}