UNPKG

one

Version:

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

14 lines (13 loc) 450 B
function _instanceof(left, right) { if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) { return !!right[Symbol.hasInstance](left); } else { return left instanceof right; } } function isResponse(res) { if (_instanceof(res, Response)) return true; return res != null && typeof res.status === "number" && typeof res.ok === "boolean"; } export { isResponse }; //# sourceMappingURL=isResponse.native.js.map