Appearance
getCategoryUrl ​
Definition ​
Get URL for category. Some link
Signature ​
ts
export function getCategoryUrl<
  T extends {
    type: string;
    externalLink?: string;
    seoUrls?: { seoPathInfo: string }[];
    internalLink?: string;
    id: string;
    linkType?: string;
  },
>(category: T): string 
Parameters ​
| Name | Type | Description | 
|---|---|---|
| category | T | category entity | 
Return type ​
ts
string