Skip to content

@serenity-is/corelib / IBooleanValue

Abstract Class: IBooleanValue

Defined in: src/interfaces/ibooleanvalue.ts:7

Type token for widgets/editors that expose a boolean value. Implement IBooleanValue.get_value / IBooleanValue.set_value and register with the interface type system.

Constructors

Constructor

new IBooleanValue(): IBooleanValue

Returns

IBooleanValue

Properties

[typeInfo]

static [typeInfo]: InterfaceTypeInfo<"Serenity.">

Defined in: src/interfaces/ibooleanvalue.ts:8

Methods

get_value()

get_value(): boolean

Defined in: src/interfaces/ibooleanvalue.ts:13

Gets the current boolean value.

Returns

boolean

Current value.


set_value()

set_value(value): void

Defined in: src/interfaces/ibooleanvalue.ts:15

Sets the boolean value.

Parameters

value

boolean

New value to assign.

Returns

void