Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>HTTPResponse#ok

Headless Chrome Deno API
Latest
method HTTPResponse.prototype.ok
Re-export
import { HTTPResponse } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Returns

boolean

True if the response was successful (status in the range 200-299).