Returns an OperationFunction that yields elements from the source followed by the provided values.
Type of items in the source.
Values to yield after the source.
An OperationFunction that yields elements from the source followed by the provided values.
const result = startWith(0, 1, 2)([3, 4, 5]);console.log([...result]); // [0, 1, 2, 3, 4, 5] Copy
const result = startWith(0, 1, 2)([3, 4, 5]);console.log([...result]); // [0, 1, 2, 3, 4, 5]
Returns an OperationFunction that yields elements from the source followed by the provided values.