@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
1 lines • 615 B
Source Map (JSON)
{"version":3,"sources":["iterable/repeatvalue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,MAAM,UAAU,WAAW,CAAU,KAAc,EAAE,QAAgB,CAAC,CAAC;IACrE,OAAO,IAAI,cAAc,CAAU,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC","file":"repeatvalue.js","sourcesContent":["import { of } from './of';\nimport { RepeatIterable } from './operators/repeat';\nimport { IterableX } from './iterablex';\n\nexport function repeatValue<TSource>(value: TSource, count: number = -1): IterableX<TSource> {\n return new RepeatIterable<TSource>(of(value), count);\n}\n"]}