Function: formatGroupId()
ts
function formatGroupId(group): string;Defined in: group/group-id.ts:31
Formats a GroupId back to its uuid~count string form.
Parameters
| Parameter | Type |
|---|---|
group | GroupId |
Returns
string
See
https://uploadcare.com/docs/file-groups/
Example
ts
formatGroupId({ uuid, count: 3 }) // → `${uuid}~3`