Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js check type of variable

if (typeof i != "number") {
    console.log('This is not number');
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #js #check #type #variable
ADD COMMENT
Topic
Name
9+3 =