W3cubDocs

/Angular 12

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://v12.angular.io/api/core/IterableDifferFactory