Skip to main content

commandIdFromActionId

function

Recovers the command id from a host action id. Returns `undefined` for a host owned action, which is how you tell the two kinds of id apart.

function commandIdFromActionId(actionId: string): string | undefined

Import

import { commandIdFromActionId } from '@modular/sdk';

Notes

category
Context