Determines whether the provided HTTP status code represents a successful response (2xx).
Optional
The HTTP status code to evaluate. If undefined, the function returns false.
undefined
false
true if the status code is between 200 and 299 (inclusive); otherwise, false.
true
4.2.6
2023-11-21
Determines whether the provided HTTP status code represents a successful response (2xx).