Enumerable#rejectBy()

rejectBy (key, value) Arraypublic

Defined in packages/ember-runtime/lib/mixins/enumerable.js:463

Returns an array with the items that do not have truthy values for key. You can pass an optional second argument with the target value. Otherwise this will match any property that evaluates to false.

Parameters:

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

Returns:

Array
rejected array
doc_EmberJs
2016-11-30 16:52:01
Comments
Leave a Comment

Please login to continue.