• Checks if the given value is a BigInt.

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

    Parameters

    • Optionaloptions: ValidationOptions

      Generic class-validator options.

    Returns PropertyDecorator