This mixin defines the common interface implemented by enumerable objects in Ember. Most of these
methods follow the standard Array iteration API defined up to JavaScript 1.8 (excluding language-specific
features that cannot be emulated in older versions of JavaScript).
This mixin is applied automatically to the Array class on page load, so you can use any of these methods
on simple arrays. If Array already implements one of these methods, the mixin will not override them.
Properties
public []: Array<any>
Defined in ember/ember.d.ts:915
public firstObject: any
Defined in ember/ember.d.ts:916
public hasEnumerableObservers: boolean
Defined in ember/ember.d.ts:917
public lastObject: any
Defined in ember/ember.d.ts:918
Defined in ember/ember.d.ts:903
Defined in ember/ember.d.ts:907
Methods
Defined in ember/ember.d.ts:875
Parameters
Returns
Enumerable
public any( callback: Function , target?: any ) : boolean
Defined in ember/ember.d.ts:876
Parameters
callback: Function
target?: any optional
Returns
boolean
public anyBy( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:877
Parameters
key: string
value?: string optional
Returns
boolean
public compact( ) : Array<any>
Defined in ember/ember.d.ts:879
Returns
Array<any>
public contains( obj: any ) : boolean
Defined in ember/ember.d.ts:880
Parameters
Returns
boolean
public enumerableContentDidChange( start: number , removing: number , adding: number ) : any
Defined in ember/ember.d.ts:881
Parameters
start: number
removing: number
adding: number
Returns
any
public enumerableContentDidChange( start: number , removing: Enumerable , adding: number ) : any
Defined in ember/ember.d.ts:882
Parameters
start: number
adding: number
Returns
any
public enumerableContentDidChange( start: number , removing: number , adding: Enumerable ) : any
Defined in ember/ember.d.ts:883
Parameters
start: number
removing: number
Returns
any
public enumerableContentDidChange( start: number , removing: Enumerable , adding: Enumerable ) : any
Defined in ember/ember.d.ts:884
Parameters
Returns
any
public enumerableContentDidChange( removing: number , adding: number ) : any
Defined in ember/ember.d.ts:885
Parameters
removing: number
adding: number
Returns
any
public enumerableContentDidChange( removing: Enumerable , adding: number ) : any
Defined in ember/ember.d.ts:886
Parameters
Returns
any
public enumerableContentDidChange( removing: number , adding: Enumerable ) : any
Defined in ember/ember.d.ts:887
Parameters
Returns
any
public enumerableContentDidChange( removing: Enumerable , adding: Enumerable ) : any
Defined in ember/ember.d.ts:888
Parameters
Returns
any
public enumerableContentWillChange( removing: number , adding: number ) : Enumerable
Defined in ember/ember.d.ts:889
Parameters
removing: number
adding: number
Returns
Enumerable
public enumerableContentWillChange( removing: Enumerable , adding: number ) : Enumerable
Defined in ember/ember.d.ts:890
Parameters
Returns
Enumerable
public enumerableContentWillChange( removing: number , adding: Enumerable ) : Enumerable
Defined in ember/ember.d.ts:891
Parameters
Returns
Enumerable
Defined in ember/ember.d.ts:892
Parameters
Returns
Enumerable
public every( callback: Function , target?: any ) : boolean
Defined in ember/ember.d.ts:893
Parameters
callback: Function
target?: any optional
Returns
boolean
public everyBy( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:894
Parameters
key: string
value?: string optional
Returns
boolean
public everyProperty( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:895
Parameters
key: string
value?: string optional
Returns
boolean
public filter( callback: Function , target: any ) : Array<any>
Defined in ember/ember.d.ts:896
Parameters
callback: Function
target: any
Returns
Array<any>
public filterBy( key: string , value?: string ) : Array<any>
Defined in ember/ember.d.ts:897
Parameters
key: string
value?: string optional
Returns
Array<any>
public find( callback: Function , target: any ) : any
Defined in ember/ember.d.ts:898
Parameters
callback: Function
target: any
Returns
any
public findBy( key: string , value?: string ) : any
Defined in ember/ember.d.ts:899
Parameters
key: string
value?: string optional
Returns
any
public forEach( callback: Function , target?: any ) : any
Defined in ember/ember.d.ts:900
Parameters
callback: Function
target?: any optional
Returns
any
public getEach( key: string ) : Array<any>
Defined in ember/ember.d.ts:901
Parameters
Returns
Array<any>
public invoke( methodName: string , any?: Array<any> ) : Array<any>
Defined in ember/ember.d.ts:902
Parameters
methodName: string
any?: Array<any> optional
Returns
Array<any>
public mapBy( key: string ) : Array<any>
Defined in ember/ember.d.ts:904
Parameters
Returns
Array<any>
public nextObject( index: number , previousObject: any , context: any ) : any
Defined in ember/ember.d.ts:905
Parameters
index: number
previousObject: any
context: any
Returns
any
public reduce( callback: ReduceCallback , initialValue: any , reducerProperty: string ) : any
Defined in ember/ember.d.ts:906
Parameters
initialValue: any
reducerProperty: string
Returns
any
public rejectBy( key: string , value?: string ) : Array<any>
Defined in ember/ember.d.ts:908
Parameters
key: string
value?: string optional
Returns
Array<any>
Defined in ember/ember.d.ts:909
Parameters
Returns
Enumerable
public setEach( key: string , value?: any ) : any
Defined in ember/ember.d.ts:910
Parameters
key: string
value?: any optional
Returns
any
public some( callback: Function , target?: any ) : boolean
Defined in ember/ember.d.ts:911
Parameters
callback: Function
target?: any optional
Returns
boolean
public someProperty( key: string , value?: string ) : boolean
Defined in ember/ember.d.ts:878
Parameters
key: string
value?: string optional
Returns
boolean
public toArray( ) : Array<any>
Defined in ember/ember.d.ts:912
Returns
Array<any>
Defined in ember/ember.d.ts:913
Returns
Enumerable
public without( value: any ) : Enumerable
Defined in ember/ember.d.ts:914
Parameters
Returns
Enumerable