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