Enumerable#isAny()

isAny (key, value) Booleanpublic

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

Returns true if the passed property resolves to the value of the second argument for any item 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.