android-components / mozilla.components.concept.fetch / isSuccess

isSuccess

val Response.isSuccess: Boolean (source)

Returns true if the response was successful (status in the range 200-299) or false otherwise.