Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / operators / startWith.js
1 import { concat } from '../observable/concat';
2 import { isScheduler } from '../util/isScheduler';
3 export function startWith(...array) {
4     const scheduler = array[array.length - 1];
5     if (isScheduler(scheduler)) {
6         array.pop();
7         return (source) => concat(array, source, scheduler);
8     }
9     else {
10         return (source) => concat(array, source);
11     }
12 }
13 //# sourceMappingURL=startWith.js.map