function booWho(bool) {
// the fastet way to solve this problem
return typeof bool==="boolean";
}
booWho(null);
/* another way to solve it
function booWho(bool) {
if (bool===true || bool===false){
return true;
}
else{
return false;
}
return bool;
}
booWho(false);
*/