MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / width

Function width

src/compute-engine/interval/util.ts:156–158  ·  view source on GitHub ↗
(x: Interval)

Source from the content-addressed store, hash-verified

154 if (a === b) return a;
155 return 'both'; // 'lo' + 'hi' = 'both'
156}
157
158/**
159 * Check if an interval is a point interval (lo === hi).
160 */
161export function isPoint(x: Interval): boolean {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected