Skip to main content

Class: BooleanLiteral

Extends

Constructors

new BooleanLiteral()

new BooleanLiteral(value): BooleanLiteral

Parameters

value: boolean

Returns

BooleanLiteral

Inherited from

Literal.constructor

Defined in

src/expression.ts:150

Properties

value

readonly value: boolean

Inherited from

Literal.value

Defined in

src/expression.ts:150

Methods

children()

children(): Expression[]

Returns

Expression[]

Inherited from

Literal.children

Defined in

src/expression.ts:170


equals()

equals(other): boolean

Parameters

other: unknown

Returns

boolean

Overrides

Literal.equals

Defined in

src/expression.ts:176


evaluate()

evaluate(context): Promise<boolean>

Parameters

context: RenderContext

Returns

Promise<boolean>

Inherited from

Literal.evaluate

Defined in

src/expression.ts:153


evaluateSync()

evaluateSync(context): boolean

Parameters

context: RenderContext

Returns

boolean

Inherited from

Literal.evaluateSync

Defined in

src/expression.ts:158


toString()

toString(): string

Returns

string

Inherited from

Literal.toString

Defined in

src/expression.ts:166