initial commit - far from runnable
This commit is contained in:
commit
db057ce342
8614 changed files with 1032171 additions and 0 deletions
5
node_modules/rxjs/dist/esm5/internal/operators/count.js
generated
vendored
Normal file
5
node_modules/rxjs/dist/esm5/internal/operators/count.js
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue