W3cubDocs

/Angular 11

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

Optional. Default is undefined.

Returns

IterableDiffer<V>

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