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

    Example

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

    Parameters

    • Optional options: ValidationOptions

      Generic class-validator options.

    Returns PropertyDecorator