Answers for "js how to check typeof boolean"

0

js how to check typeof boolean

if (typeof variable == "boolean") {
    // variable is a boolean
}
Posted by: Guest on August-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language