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

Method constructor

packages/graph/src/Steps.ts:4978–4980  ·  view source on GitHub ↗
(compareFn: (a: T, b: T) => number)

Source from the content-addressed store, hash-verified

4976 private compareFn: (a: T, b: T) => number;
4977
4978 constructor(compareFn: (a: T, b: T) => number) {
4979 this.compareFn = compareFn;
4980 }
4981
4982 get size(): number {
4983 return this.heap.length;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected