[android-components](../index.md) / [mozilla.components.concept.fetch](index.md) / [isSuccess](./is-success.md)

# isSuccess

`val `[`Response`](-response/index.md)`.isSuccess: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/fetch/src/main/java/mozilla/components/concept/fetch/Response.kt#L140)

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

