jmurphyau/ember-truth-helpers

is-array helper is returning false when array only has one object inside it.

meganre opened this issue · 1 comments

The is-array truth helper in templates is returning false when the array only has a length of one. However running the same array through isArray from @ember/array in the controller returns true.

image
image
First true is from the controller function, second is the array itself logged out and the final is the truth helper is-array logged from the hbs template