For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/api/functions/api.isCapabilityState.md.
  • English
  • Function: isCapabilityState()

    isCapabilityState(value): value is CapabilityState

    Validates an untyped capability declaration, including the fields each state owns. JavaScript and third-party adapters reach the registry unchecked by the compiler, so this is the boundary that keeps malformed states out.

    Parameters

    value

    unknown

    Returns

    value is CapabilityState