Edit this page

up.RenderResult up.RenderResult.prototype.ok
Property

This feature is experimental. Please share 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 failed responses.

Rendering a string of HTML is always successful.


Value

up.RenderResult#ok
boolean