Skip to main content
IsNegative(validationOptions?): PropertyDecorator
Defined in: node_modules/.pnpm/class-validator@0.14.4/node_modules/class-validator/types/decorator/number/IsNegative.d.ts:10 Checks if the value is a negative number smaller than zero.

Parameters

validationOptions?

ValidationOptions

Returns

PropertyDecorator