Returns a Stream that yields elements from the source followed by the provided values.
Type of items in the source.
Rest
Values to yield after the source.
Operation 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 a Stream that yields elements from the source followed by the provided values.