• Parameters

    • value: unknown

      The value to validate.

    • maximum: number | bigint

      The maximum allowed value.

    Returns value is bigint