MCPcopy Create free account
hub / github.com/TanStack/db / getCompletedCount

Method getCompletedCount

examples/angular/todos/src/app/app.ts:180–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 }
179
180 getCompletedCount(): number {
181 return this.todoQuery.data().filter((todo) => todo.completed).length
182 }
183}

Callers

nothing calls this directly

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected