parseActionArg
此内容尚不支持你的语言。
parseActionArg(
arg,params,separator?):Record<string,AiParamValue>
Defined in: ai/fsm/registry.ts:177
Split a canonical string into declared parameters. The last parameter absorbs
the remainder, so "tabs:a:b" against [controller, page] yields
{controller: 'tabs', page: 'a:b'} — the same rule ui.setPage hand-rolled.
Numbers and booleans are coerced to their declared type.
Parameters
Section titled “Parameters”string | undefined
params
Section titled “params”readonly AiParamDef[]
separator?
Section titled “separator?”string = ':'
Returns
Section titled “Returns”Record<string, AiParamValue>