UNPKG

@scalar/api-client

Version:

the open source API testing client

14 lines (13 loc) 324 B
const u = (n, t, r) => { const e = n.find((l) => l.info?.title === "Drafts"), i = t.length === 1; if (!t[0]) return !1; const s = e?.requests.includes(t[0]); if (!s) return !1; const f = r[e?.requests[0] ?? ""]?.summary !== "My First Request"; return i && s && !f; }; export { u as isGettingStarted };