Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js check if object is empty

> !!Object.keys(obj).length;
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #js #check #object #empty
ADD COMMENT
Topic
Name
5+7 =