Quantumbraid's picture
download
raw
223 Bytes
import { reduce } from './reduce';
export function count(predicate) {
return reduce(function (total, value, i) { return (!predicate || predicate(value, i) ? total + 1 : total); }, 0);
}
//# sourceMappingURL=count.js.map

Xet Storage Details

Size:
223 Bytes
·
Xet hash:
c4ba7e558048c1b23f7ed906ff7b17cdae16ed26025c3e9898210f363fb23afd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.