Kind: Function
Source: atloria-monorepo/apps/web/src/lib/url-utils.ts
Parse a collection URL to extract slug and urlId
Signature
tsfunction parseCollectionUrl(pathname: string): { slug: string; urlId: string } | null
Parameters
| Name | Type |
|---|---|
pathname | string |
Returns: { slug: string; urlId: string } | null
Was this page helpful?