class-validator-extended - v4.2.0
    Preparing search index...

    Function NegativeBigInt

    • 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