UNPKG

ifc-expressions

Version:

Parsing and evaluation of IFC expressions

9 lines (8 loc) 327 B
import { BoxedValueTypes } from "./BoxedValueTypes.js"; import { ExprType } from "../type/ExprType.js"; export interface Value<T extends BoxedValueTypes | Array<Value<BoxedValueTypes | Array<Value<BoxedValueTypes>>>>> { getValue(): T; equals(other: Value<any>): boolean; toString(): any; getType(): ExprType; }