UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

9 lines (8 loc) 389 B
function _instanceof(left, right) { return right != null && typeof Symbol < "u" && right[Symbol.hasInstance] ? !!right[Symbol.hasInstance](left) : left instanceof right; } function isResponse(res) { return _instanceof(res, Response) || typeof res.status == "number" && "body" in res && typeof res.ok == "boolean"; } export { isResponse }; //# sourceMappingURL=isResponse.native.js.map