types/collection.ql
| Function | Description |
|---|---|
| native fun getId() on collection | Gets the ID of the collection. This is an ID identifiable by the provider which owns this collection. |
| native fun getUrl() on collection | Gets the URL of the collection. |
| native fun getName() on collection | Gets the name of the collection. |
| native fun getCreator() on collection | Gets the creator of the collection. |
| native fun getTrackCount() on collection | Gets the number of tracks in the collection. |
| native fun anySongMatches(fn) on collection | Loops through all songs of the collection and checks if the condition is matched. |
| native fun containsArtist(artist) on collection | Checks if the collection contains any song with the given artist as the song's first artist. |