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 nullableTimelines 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 nullablebooleanTimelines.nAllOf: Computes the logical AND of multiple nullablebooleanTimelines.nSumOf: Computes the sum of multiple nullablenumberTimelines.nListOf: Combines multiple nullableTimelines into a single nullableTimelineholding an array of their values.
N-ary Operations
Section titled “N-ary Operations”nCombineLatest: Combines an arbitrary number of nullableTimelines by applying an N-ary composition function only if all values are not null.