called optionsMeta.
I have to access it like -
optionsMeta[0].representation
But, I believe if it is an ember object, it should be accessed like-
optionsMeta.objectAt(0).get(‘representation’)
But, to apply the if else condition, how do I check if the optionsMeta is an Ember type or not?
you may do: get(optionsMeta,'0.representation')
Обсуждают сегодня