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 stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#typescript
#check
#object
#empty
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit