@aptos-labs/ts-sdk - v5.1.4
    Preparing search index...

    Function validateNumberInRange

    • Validates that a given number is within a specified range. This function throws an error if the value is outside the defined minimum and maximum bounds.

      Type Parameters

      Parameters

      • value: T

        The number to validate.

      • minValue: T

        The minimum allowable value (inclusive).

      • maxValue: T

        The maximum allowable value (inclusive).

      Returns void