minca
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

ParameterType
cmdunknown

Returns

cmd is string

On this page