MCPcopy Index your code
hub / github.com/socketio/socket.io / getWithCompleted

Method getWithCompleted

examples/angular-todomvc/src/app/store.ts:39–41  ·  view source on GitHub ↗
(completed: boolean)

Source from the content-addressed store, hash-verified

37 }
38
39 private getWithCompleted(completed: boolean) {
40 return this.todos.filter((todo: Todo) => todo.completed === completed);
41 }
42
43 allCompleted() {
44 return this.todos.length === this.getCompleted().length;

Callers 2

getRemainingMethod · 0.95
getCompletedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected