@rx-angular/state
Version:
@rx-angular/state is a light-weight, flexible, strongly typed and tested tool dedicated to reduce the complexity of managing component state and side effects in angular
15 lines • 384 B
TypeScript
/**
* @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;
//# sourceMappingURL=compare-fn.d.ts.map