MCPcopy Create free account
hub / github.com/codemix/graph / count

Method count

packages/graph/src/Traversals.ts:1288–1290  ·  view source on GitHub ↗

* Count the number of values in the traversal.

()

Source from the content-addressed store, hash-verified

1286 * Count the number of values in the traversal.
1287 */
1288 public count() {
1289 return new ValueTraversal<TSchema, number>(this.graph, [...this.steps, new CountStep({})]);
1290 }
1291
1292 /**
1293 * Map each value in the traversal to a new value.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected