Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Check if a value is an object in JavaScript

typeof yourVariable === 'object' && yourVariable !== null
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Check #object #JavaScript
ADD COMMENT
Topic
Name
3+6 =