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

Function less

src/compute-engine/interval/comparison.ts:24–34  ·  view source on GitHub ↗
(
  a: Interval | IntervalResult,
  b: Interval | IntervalResult
)

Source from the content-addressed store, hash-verified

22}
23
24/** A tri-state verdict, as the relations and connectives answer one. */
25function isVerdict(x: unknown): x is BoolInterval {
26 return x === 'true' || x === 'false' || x === 'maybe';
27}
28
29/**
30 * A value of this target's value model, as the compiled code passes one
31 * around: an enclosure (bare or kinded), a tri-state verdict, or an array of
32 * such values (a collection at a consuming position). The compiled call
33 * sites are untyped source; this type is what the helpers below accept and
34 * answer, so a caller inside the library sees the real domain.
35 */
36export type IntervalModelValue =
37 Interval | IntervalResult | BoolInterval | IntervalModelValue[];

Callers 1

Calls 1

unwrapOrPropagateFunction · 0.90

Tested by

no test coverage detected