DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
typescript check if object is empty
var s = {}; Object.keys(s).length // if 0 then is empty
Source by www.samanthaming.com #
PREVIOUS
NEXT
Tagged:
#typescript
#check
#object
#empty
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit