Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

object check null or empty

Object.entries(obj).length === 0 && obj.constructor === Object
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #object #check #null #empty
ADD COMMENT
Topic
Name
5+7 =