TransformToBoolean(): PropertyDecorator
Defined in: packages/env/src/decorators/transform-to-boolean.decorator.ts:18
Property decorator that transforms the string environment variable value
"true" or "false" into a native boolean.
Returns
PropertyDecorator
Remarks
Returnsundefined for any value that is neither "true" nor "false".
Pair with @IsBoolean() and @Default(false) for a fully validated and
defaulted boolean property.