function playlistsPath
playlistsPath(
categorySlug?: string,
): string

Returns the path of the page of every public playlist, /playlists, or of a playlist category's at /playlists/<slug>, on the tab tab names: an order, the default one without it, or the viewer's own playlists.

Parameters

optional
categorySlug: string
optional
tab: PlaylistsTab

Return Type

string

Usage

import { playlistsPath } from "shared/paths.ts";