Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript check if var is string

if (typeof a_string === 'string') {
    // this is a string
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #check #var #string
ADD COMMENT
Topic
Name
5+2 =