createPlaylistTracks src/structures/Playlist.ts#L139
Create playlist tracks structure.
const playlistTracks = createPlaylistTracks(client, data);
Returns:
PlaylistTrack[]Parameters:
Name | Type | Description |
---|---|---|
client | Client | The spotify client. |
rawPlaylistTracks | PlaylistTrack[] | The raw data received from the api. |