The type of value.
The transformed type of a valid value.
Optional
callback: CPrivate
_validSee valid. For internal use only
Private
Optional
_validSee validValue. For internal use only
Readonly
validatorThe validator/transformer used for this variable's value. If null, then the value will always be valid and validValue will be equal to value.
If true, then the current value is valid.
The last valid value. If there was never a valid value, undefined
is
returned.
The current value.
If setting, setValue is called.
Protected
doPrivate
validateRegister a callback to this variable. When the value is changed, the callback will be called.
If true, the callback will be called once immediately after it's registered, unless the callback is already registered.
Generated using TypeDoc
Similar to Variable, except the variable's value can optionally be validated by a validator function.