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

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

    Parameters

    • Optionaloptions: ValidationOptions

      Generic class-validator options.

    Returns PropertyDecorator