The type of ValidatedBox#value.
The transformed type of a valid value.
ReadonlyvalidIf true, then the current value is valid.
ReadonlyvalidThe last valid value, post-transformation. If there was never a valid
value, undefined is returned.
The current value.
When the value is set via this setter, the class implementing this
interface should notify the observable with no group (undefined). Note
that this is just a suggestion, not a strict requirement.
Unregister a previously registered callback from this observable.
Check if a given value is valid. Does not modify the current value.
Register a callback to this observable. When the value is changed, the callback will be called.
OptionalcallNow: booleanIf true, the callback will be called once immediately after it's registered. False by default
Optionalgroup: unknownThe group to use when calling immediately. Only used if callNow is true, and is undefined by default
Similar to Box, except the value can optionally be validated and transformed by that same validator.