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

    Function IsBigInt

    • 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