Chapter 5: n-Series Composition Functions
The n
-series composition functions defined in timeline.ts
are as follows.
Binary Operations
Section titled “Binary Operations”nCombineLatestWith
: Combines two nullableTimeline
s by applying a binary operation function only if both values are not null.
Aggregate Operations
Section titled “Aggregate Operations”nAnyOf
: Computes the logical OR of multiple nullableboolean
Timeline
s.nAllOf
: Computes the logical AND of multiple nullableboolean
Timeline
s.nSumOf
: Computes the sum of multiple nullablenumber
Timeline
s.nListOf
: Combines multiple nullableTimeline
s into a single nullableTimeline
holding an array of their values.
N-ary Operations
Section titled “N-ary Operations”nCombineLatest
: Combines an arbitrary number of nullableTimeline
s by applying an N-ary composition function only if all values are not null.