Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

test variable type javascript

if(typeof bar === 'string') {
   //whatever
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #test #variable #type #javascript
ADD COMMENT
Topic
Name
7+1 =