kaven-basic - v6.0.0
    Preparing search index...

    Function IsSuccessStatusCode

    • Determines whether the provided HTTP status code represents a successful response (2xx).

      Parameters

      • Optionalstatus: number

        The HTTP status code to evaluate. If undefined, the function returns false.

      Returns boolean

      true if the status code is between 200 and 299 (inclusive); otherwise, false.

      4.2.6

      2023-11-21