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

Function isNonPositive

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

Source from the content-addressed store, hash-verified

147export function mergeDomainClip(
148 a: 'lo' | 'hi' | 'both' | null,
149 b: 'lo' | 'hi' | 'both' | null
150): 'lo' | 'hi' | 'both' {
151 if (a === 'both' || b === 'both') return 'both';
152 if (a === null) return b!;
153 if (b === null) return a;
154 if (a === b) return a;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected