---
name: "up.RenderResult.prototype.ok"
area: "API"
kind: "Property"
parent: "up.RenderResult class"
visibility: "experimental"
url: "https://unpoly.com/api/up.RenderResult.prototype.ok"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.RenderResult class](https://unpoly.com/api/up.RenderResult.md)</nav>

# up.RenderResult.prototype.ok

**This feature is experimental**. Please [share](https://github.com/unpoly/unpoly/discussions) your experiences so we know what to keep or change.

Whether this render pass has rendered a successful response.

By default responses with a `2xx` status code are considered successful. Other HTTP codes (like `500` or `404`) are considered [error responses](https://unpoly.com/learn/error-responses.md#fail-options).

Rendering a [string of HTML](https://unpoly.com/learn/providing-html.md#string) is always successful.

---

## Value {#value}

### up.RenderResult#ok {#up.RenderResult-ok}

Type: boolean

