W3cubDocs

/Angular

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–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/KeyValueDifferFactory