Type guard: returns true if the parsed playlist is a Master Playlist.
true
const pl = parser(m3u8);if (isMasterPlaylist(pl)) { pl.variants; // ← narrowed to MasterPlaylist} Copy
const pl = parser(m3u8);if (isMasterPlaylist(pl)) { pl.variants; // ← narrowed to MasterPlaylist}
Type guard: returns
trueif the parsed playlist is a Master Playlist.