Buckets:
| import { reduce } from './reduce'; | |
| export function count(predicate) { | |
| return reduce((total, value, i) => (!predicate || predicate(value, i) ? total + 1 : total), 0); | |
| } | |
| //# sourceMappingURL=count.js.map |
Xet Storage Details
- Size:
- 205 Bytes
- Xet hash:
- a00c4245ade2189de9387447dba3de919f522ac8e557a82590d967f11a7ce4d3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.