distinctUntilChanged
Last updated
Was this helpful?
Last updated
Was this helpful?
distinctUntilChanged(compare: function): Observable
:bulb: distinctUntilChanged uses ===
comparison by default, object references must match!
:bulb: If you want to compare based on an object property, you can use instead!
Example 1: distinctUntilChanged with basic values
( )
Example 2: distinctUntilChanged with objects
Example 3: Using custom comparer function
[Save Indicator]('../../recipes/save-indicator.md)
:newspaper: - Official docs
:video_camera: :dollar: - André Staltz
( )
( )
:file_folder: Source Code: