DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Any array in JSON object is not empty
data = { 'a': [], 'b': [], 'c': [1,2,3] } result = any(item for item in data.values()) print(result)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Any
#array
#JSON
#object
#empty
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit