Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check the type of a variable in js

if(typeof variable == 'object'){
  //
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #type #variable #js
ADD COMMENT
Topic
Name
3+3 =