KeyValueDifferFactory

From Get docs
< @angular/coreAngular/docs/8/api/core/keyvaluedifferfactory


KeyValueDifferFactory

interface

Provides a factory for KeyValueDiffer.

interface KeyValueDifferFactory {
  supports(objects: any): boolean
  create<K, V>(): KeyValueDiffer<K, V>
}

Methods

Test to see if the differ knows how to diff this kind of object.

supports(objects: any): boolean

Parameters
objects any
Returns

boolean


Create a KeyValueDiffer.

create<K, V>(): KeyValueDiffer<K, V>

Parameters

There are no parameters.

Returns

KeyValueDiffer<K, V>



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