Buckets:
| import { operate } from '../util/lift'; | |
| import { createOperatorSubscriber } from './OperatorSubscriber'; | |
| export function every(predicate, thisArg) { | |
| return operate((source, subscriber) => { | |
| let index = 0; | |
| source.subscribe(createOperatorSubscriber(subscriber, (value) => { | |
| if (!predicate.call(thisArg, value, index++, source)) { | |
| subscriber.next(false); | |
| subscriber.complete(); | |
| } | |
| }, () => { | |
| subscriber.next(true); | |
| subscriber.complete(); | |
| })); | |
| }); | |
| } | |
| //# sourceMappingURL=every.js.map |
Xet Storage Details
- Size:
- 598 Bytes
- Xet hash:
- 649f0775fccc113a73e66c538ffe1ab0c420d640307a915e35c8cda67de0b9d5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.