Function: isGroupUrl()
ts
function isGroupUrl(url): boolean;Defined in: parse.ts:403
Whether a string is a group root URL, without parsing it or throwing.
Parameters
| Parameter | Type |
|---|---|
url | string |
Returns
boolean
See
https://uploadcare.com/docs/file-groups/
Example
ts
isGroupUrl(`https://ucarecdn.com/${uuid}~3/`) // → true