Skip to main content

Interface: APDataItem<T>

Defined in: src/sdk/autopilot/APDataProvider.ts:5

A data item for an autopilot.

Type Parameters​

Type ParameterDescription
TThe type of the item's value.

Methods​

getActualValue()​

getActualValue(): T

Defined in: src/sdk/autopilot/APDataProvider.ts:25

Gets the actual value of this item. The actual value is the value that would be assigned to the item by an omniscient and infallible observer.

Returns​

T

The actual value of this item.


getValue()​

getValue(): T

Defined in: src/sdk/autopilot/APDataProvider.ts:10

Gets the value of this item.

Returns​

T

The value of this item.


isValueValid()​

isValueValid(): boolean

Defined in: src/sdk/autopilot/APDataProvider.ts:18

Checks whether this item's value is valid.

Note: The validity status does not apply to the item's actual value.

Returns​

boolean

Whether this item's value is valid.