function distinctFromLast(): IdentityOperator
function distinctFromLast<T>(
isDifferent: (keyA: T, keyB: T, currentIndex: number) => unknown,
): Operator<T, T>| 1 | function distinctFromLast<T>( |
| 2 | isDifferent: (keyA: T, keyB: T, currentIndex: number) => unknown, |
| 3 | ): Operator<T, T> |
function distinctFromLast<T, K>(
isDifferent:
| ((keyA: K, keyB: K, currentIndex: number) => unknown)
| undefined,
getKey: (value: T) => K,
): Operator<T, T>| 1 | function distinctFromLast<T, K>( |
| 2 | isDifferent: |
| 3 | | ((keyA: K, keyB: K, currentIndex: number) => unknown) |
| 4 | | undefined, |
| 5 | getKey: (value: T) => K, |
| 6 | ): Operator<T, T> |