Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js is boolean

if (typeof variable === "boolean"){
  // variable is a boolean
}
 
PREVIOUS NEXT
Tagged: #js #boolean
ADD COMMENT
Topic
Name
2+4 =