Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js isset

if (typeof obj.foo !== 'undefined') {
  // your code here
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #isset
ADD COMMENT
Topic
Name
4+8 =