-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
Currently Ember.isEmpty returns false if I pass in an empty object when I would expect it to return true. This feels like a gap in the functionality.
@taras suggested using Ember.keys({}).length === 0 and while this certainly works it doesn't feel intuitive when you have Ember.isEmpty available.
It's trivial to implement - I'd be glad to submit a PR if it's agreed that it is indeed a gap.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels