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

    Function PositiveBigInt

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

      // Ensure the value is greater than 0.
      @PositiveBigInt()
      positiveNumber: BigInt

      Parameters

      • Optionaloptions: ValidationOptions

        Generic class-validator options.

      Returns PropertyDecorator