This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

IterableDifferFactory

Provides a factory for IterableDiffer.

      
      interface IterableDifferFactory {
  supports(objects: any): boolean
  create<V>(trackByFn?: TrackByFunction<V>): IterableDiffer<V>
}
    

Methods

supports(objects: any): boolean
      
      supports(objects: any): boolean
    

Parameters

objects

Type: any.

Returns

boolean

create<V>(trackByFn?: TrackByFunction<V>): IterableDiffer<V>
      
      create<V>(trackByFn?: TrackByFunction<V>): IterableDiffer<V>
    

Parameters

trackByFn

Type: TrackByFunction.

Optional. Default is undefined.

Returns

IterableDiffer<V>