# Function: isCommand()

```ts
function isCommand(cmd): cmd is string;
```

Defined in: [packages/core/src/identity/ucan.ts:91](https://github.com/leifriksheim/minca/blob/main/core/src/identity/ucan.ts#L91)

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`
