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

# success

`val `[`Response`](-response/index.md)`.success: `[`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#L130)

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

