defaultComparator() function
A comparator function to determine if two values are equal. Used by distinctUntilChanged operator.
Signature:
export declare function defaultComparator<T>(current: T, next: T): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
current | T | |
next | T |
Returns:
boolean