• Checks if the given value is a BigInt less than zero.

    Example

    // Ensure the value is less than 0.
    @NegativeBigInt()
    negativeNumber: BigInt

    Parameters

    • Optional options: ValidationOptions

      Generic class-validator options.

    Returns PropertyDecorator