Buckets:
| /** | |
| * @license | |
| * Copyright 2021 Google LLC | |
| * SPDX-License-Identifier: BSD-3-Clause | |
| */ | |
| /** | |
| * Returns an iterable containing the result of calling `f(value)` on each | |
| * value in `items`. | |
| * | |
| * @example | |
| * | |
| * ```ts | |
| * render() { | |
| * return html` | |
| * <ul> | |
| * ${map(items, (i) => html`<li>${i}</li>`)} | |
| * </ul> | |
| * `; | |
| * } | |
| * ``` | |
| */ | |
| function* map(items, f) { | |
| if (items !== undefined) { | |
| let i = 0; | |
| for (const value of items) { | |
| yield f(value, i++); | |
| } | |
| } | |
| } | |
| export { map }; | |
| //# sourceMappingURL=map.js.map | |
Xet Storage Details
- Size:
- 562 Bytes
- Xet hash:
- 3da4b9102a83e2a3d7b5e053ebc72af9b7fb1e05048aee42375cd49818885a6b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.