function playlistSortQuery
playlistSortQuery(): string

Returns the query string that puts a list of playlists in the order sort names, with its ?, or "" for the default order. extra holds the list's other parameters, such as a profile's category.

Parameters

optional
sort: PlaylistSort = [PLAYLIST_SORTS[UNSUPPORTED]]
optional
extra: URLSearchParams

Return Type

string

Usage

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