ApiCoreFunctions
Function: isCommand()
function isCommand(cmd): cmd is string;Defined in: packages/core/src/identity/ucan.ts:91
Whether a command is well formed: /, or segments of ASCII lower case,
digits, ., _ and -, each after a /, with no trailing /. ASCII
only, so no two spellings compare differently after case folding.
Parameters
| Parameter | Type |
|---|---|
cmd | unknown |
Returns
cmd is string