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

Method range

packages/graph/src/Traversals.ts:1278–1283  ·  view source on GitHub ↗

* Slice the values in the traversal. * @param start The index to start slicing * @param end The index to end slicing

(start: number, end: number)

Source from the content-addressed store, hash-verified

1276 * @param end The index to end slicing
1277 */
1278 public range(start: number, end: number) {
1279 return new ValueTraversal<TSchema, TValue>(this.graph, [
1280 ...this.steps,
1281 new RangeStep({ start, end }),
1282 ]);
1283 }
1284
1285 /**
1286 * Count the number of values in the traversal.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected