The value
property represents the value of this dataref.
The property's data type depends on the dataref type; it will either be a Number
, String
, or an Array
of Number
s.
> dataref = "laminar/c172/fuel/fuel_tank_selector"
Dataref
> dataref.value
2
> dataref.value += 1;
undefined
> dataref.value
3