• 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