UNPKG

@rx-angular/cdk

Version:

@rx-angular/cdk is a Component Development Kit for ergonomic and highly performant angular applications. It helps to to build Large scale applications, UI libs, state management, rendering systems and much more. Furthermore the unique way of mixing reacti

16 lines (15 loc) 414 B
/** * @description * The function which is used by `KeyCompareMap` to determine if changes are distinct or not. * Should return true if values are equal. * * @param {T} oldVal * @param {T} newVal * * @return boolean * * @docsPage interfaces * @docsCategory operators */ export type CompareFn<T> = (oldVal: T, newVal: T) => boolean; export type ComparableData<T> = CompareFn<T> | keyof T | (keyof T)[];