toCollectionUri

Convert a collection (playlist/ImmutableCollectionUri) id or uri string to an ImmutableCollectionUri object. If an id is provided or the input is ambiguous, PlaylistUri is preferred.

Note: it is preferable to use a more specific function (toPlaylistUri, toImmutableCollectionUri) if possible.