- Preparing search index...
- The search index is not available
@w11k/rx-ninja
Function mapToValueAndChangedProperties
- mapToValueAndChangedProperties<T>(): ((source) => Observable<[T, Partial<T>]>)
-
Returns ((source) => Observable<[T, Partial<T>]>)
-
- (source): Observable<[T, Partial<T>]>
-
Returns Observable<[T, Partial<T>]>
Maps source to source and a partial source with changed properties.
Example:
with
a = { a: 1 } b = { a: 2, b: 3 } c = { a: 2, b: 4 } d = [{ a: 1 }, { a: 1 }] e = [{ a: 2, b: 3 }, { a: 2, b: 3 }] f = [{ a: 2, b: 4 }, { b: 4 }]