frontend/.pnpm-store/v3/files/72/fb82d429f4465df5378b6b6a84420bbc00c3ac7da1ecbe381dbf1d29516831d6d919e380c98bea7239d4dbe313cbe6ec3b9033fc053d387b6135c62cc81afc

13 lines
411 B
Plaintext

import { concat } from '../observable/concat';
import { isScheduler } from '../util/isScheduler';
export function startWith(...array) {
const scheduler = array[array.length - 1];
if (isScheduler(scheduler)) {
array.pop();
return (source) => concat(array, source, scheduler);
}
else {
return (source) => concat(array, source);
}
}
//# sourceMappingURL=startWith.js.map