Boo who
Check if a value is classified as a boolean primitive. Return true or false. Boolean primitives are true and false.
by Tom M
HTML
<div id="hi">
</div>
JavaScript
function booWho(bool) {
if (typeof bool === 'boolean') {return true
} else {return false}
}
document.getElementById("hi").innerHTML = booWho(false);