Optional
allowshould undefined
be treated as a specific default. If this option remains undefined
, the creation will throw
an error on undefined values
Optional
namethe name of the ValueObject to identify in a possible ErrorMessage.
'MealPlan.price'
Generated using TypeDoc
The options for a
SafeBoolean
:allowUndefinedAs?: true | false
- defaults toundefined
which fails validation when the value is undefined