W3cubDocs

/Angular

IterableDifferFactory

interface

Provides a factory for IterableDiffer.

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

Methods

supports(objects: any): boolean

Parameters
objects any
Returns

boolean

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

Parameters
trackByFn TrackByFunction<V>

Optional. Default is undefined.

Returns

IterableDiffer<V>

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/IterableDifferFactory