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

Function midpoint

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

Source from the content-addressed store, hash-verified

161export function isPoint(x: Interval): boolean {
162 return x.lo === x.hi;
163}
164
165/**
166 * Check if an interval contains zero.
167 */
168export function containsZero(x: Interval): boolean {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected