Union type for any parsed playlist.
Use the isMasterPlaylist discriminator to narrow the type:
isMasterPlaylist
if (pl.isMasterPlaylist) { // pl is MasterPlaylist} else { // pl is MediaPlaylist} Copy
if (pl.isMasterPlaylist) { // pl is MasterPlaylist} else { // pl is MediaPlaylist}
Union type for any parsed playlist.