how to check what the value of a boolean statement is javascript code example
Example: js is boolean
if (typeof variable === "boolean"){
// variable is a boolean
}
if (typeof variable === "boolean"){
// variable is a boolean
}