Dataref.type Property

The type property returns the data type that will be read from and should be written to this dataref. It is always number, string, or array.

Example

> dataref = simulator.findDataref("laminar/c172/fuel/fuel_tank_selector")
Dataref{ name: "laminar/c172/fuel/fuel_tank_selector" }
> dataref.type
"number"

References