Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript check if object is null or empty


obj && Object.keys(obj).length === 0 && obj.constructor === Object
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #check #object #null #empty
ADD COMMENT
Topic
Name
8+2 =