For the complete documentation index, see llms.txt. This page is also available as Markdown.

startWith

将一些元素插入到序列的头部

startWith 操作符会在 Observable 头部插入一些元素。

(如果你想在尾部加入一些元素可以用concat

演示

输出结果:

Last updated