Enumerable#isEvery()

isEvery (key, value) Booleanpublic

Defined in packages/ember-runtime/lib/mixins/enumerable.js:595
Available since 1.3.0

Returns true if the passed property resolves to the value of the second argument for all items in the enumerable. This method is often simpler/faster than using a callback.

Parameters:

key String
the property to test
value [String]
optional value to test against. Defaults to `true`

Returns:

Boolean
doc_EmberJs
2016-11-30 16:51:59
Comments
Leave a Comment

Please login to continue.