Type guard to check if a backend is a sandbox protocol (v1 or v2).
Checks for the presence of execute function and id string,
which are the defining features of sandbox protocols.
isSandboxProtocol(backend: unknown): backend is AnySandboxProtocol| Name | Type | Description |
|---|---|---|
backend* | unknown | Backend instance to check |