Skip to content

Bound

type Bound<T> =
| {
closed: boolean;
unbounded: true;
}
| {
closed: boolean;
unbounded: false;
value: T;
};

Defined in: interval.ts:28

One endpoint. Unbounded ⇒ ±∞; its closed flag matters only when the domain declares that infinity as a value (else it is forced open).

Type Parameter
T