Skip to main content

Class: BooleanExpression

Implements

Constructors

new BooleanExpression()

new BooleanExpression(expression): BooleanExpression

Parameters

expression: Expression

Returns

BooleanExpression

Defined in

src/expression.ts:707

Properties

expression

readonly expression: Expression

Defined in

src/expression.ts:707

Methods

children()

children(): Expression[]

Returns

Expression[]

Implementation of

Expression.children

Defined in

src/expression.ts:728


equals()

equals(other): boolean

Parameters

other: unknown

Returns

boolean

Implementation of

Expression.equals

Defined in

src/expression.ts:709


evaluate()

evaluate(context): Promise<boolean>

Parameters

context: RenderContext

Returns

Promise<boolean>

Implementation of

Expression.evaluate

Defined in

src/expression.ts:720


evaluateSync()

evaluateSync(context): boolean

Parameters

context: RenderContext

Returns

boolean

Implementation of

Expression.evaluateSync

Defined in

src/expression.ts:724


toString()

toString(): string

Returns

string

Implementation of

Expression.toString

Defined in

src/expression.ts:716