index/functions/isValidUniqueKey.md
isValidUniqueKey(
uniqueKey):uniqueKey is string
True when uniqueKey is a usable write key: 1 to 128 characters of A-Za-z0-9._:-, the shape
the apply-results route accepts. The one definition behind assertUniqueKey, confirm() and
the pending-swap store, so they can never disagree about what a valid key is.
unique key assert
Parameters
| Parameter | Type |
|---|---|
uniqueKey | unknown |
unique key
Returns
uniqueKey is string
unique key