Skip to contentOpen History to see the last commit
CodexSetupSection.logic.ts
8 lines240 Bytes
1export function readCodexSetupMode(config: unknown): "managed" | "existing" { 2 return config !== null && 3 typeof config === "object" && 4 "setupMode" in config && 5 config.setupMode === "managed"