Optionaloptions: IsNumberOptionsOptions to be passed to the decorator.
OptionalvalidationOptions: ValidationOptionsValidation options (e.g. each for collections).
A property decorator that validates and transforms the field to a number or an array of numbers.
Your can load environment variables in the form of a number.
This decorator can be used to validate and transform a field in a number or an array of numbers.