KeyValueDifferFactory

interface

npm Package @angular/core
Module import { KeyValueDifferFactory } from '@angular/core';
Source core/src/change_detection/differs/keyvalue_differs.ts

Interface Overview

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

Description

Provides a factory for KeyValueDiffer.

Members

supports(objects: any): boolean

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

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

Create a KeyValueDiffer.

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