• Checks if the given value is a BigInt.

    Example

    // Ensure the value is a BigInt.
    @IsBigInt()
    hugeNumber: BigInt

    Parameters

    • Optional options: ValidationOptions

      Generic class-validator options.

    Returns PropertyDecorator