Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); function isJSRPC(item) { try { return !!item[`__some_property_that_will_never_exist__${Math.random()}`]; } catch { return false; } } const isNotJSRPC = (item) => !isJSRPC(item); function isDurableObjectNamespace(item) { return item != null && isNotJSRPC(item) && typeof item.idFromName === "function"; } function isQueue(item) { return item != null && isNotJSRPC(item) && typeof item.send === "function" && typeof item.sendBatch === "function"; } exports.isDurableObjectNamespace = isDurableObjectNamespace; exports.isJSRPC = isJSRPC; exports.isQueue = isQueue; //# sourceMappingURL=isBinding.js.map