Skip to main content
Module

x/keywork/mod.ts>HTTP.isInstanceOfResponse

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
function HTTP.isInstanceOfResponse
Re-export
import { HTTP } from "https://deno.land/x/keywork@v6.0.1/mod.ts";
const { isInstanceOfResponse } = HTTP;

Checks if the given object is an instance of Response

Parameters

responsish: unknown

An object that's possibly a Response

Returns

responsish is globalThis.Response