Skip to content

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 ​

ParameterType
groupGroupId

Returns ​

string

See ​

https://uploadcare.com/docs/file-groups/

Example ​

ts
formatGroupId({ uuid, count: 3 }) // → `${uuid}~3`