Optional
id?: anyOptional
subscribe?: FunctionOptional subscribe function following the Svelte store / subscribe pattern.
TJSPosition validator function that takes a TJSPositionDatainstance potentially modifying it or returning null if invalid.
Optional
weight?: numberA number between 0 and 1 inclusive to position this validator against others.
An ID associated with this validator. Can be used to remove the validator.