Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if is a string javascript

function isString(x) {
  return Object.prototype.toString.call(x) === "[object String]"
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #javascript
ADD COMMENT
Topic
Name
8+8 =