isBankId(s): s is "WORLD" | "EXPERIENCE" | "OPINION" | "OBSERVATION"
Type guard: narrows an arbitrary string to BankId. Use to
validate untrusted inputs (LLM extraction output, deserialized
persistence) before routing into the typed network.
Parameters
s: string
Returns s is "WORLD" | "EXPERIENCE" | "OPINION" | "OBSERVATION"
Type guard: narrows an arbitrary string to BankId. Use to validate untrusted inputs (LLM extraction output, deserialized persistence) before routing into the typed network.