This is the archived documentation for Angular v5. Please visit angular.io to see documentation for the current version of Angular.

KeyValueDifferFactory

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.