Skip to main content

Validation functions

class URI {
static isAd(uri: any): boolean;
static isAlbum(uri: any): boolean;
static isGenre(uri: any): boolean;
static isQueue(uri: any): boolean;
static isApplication(uri: any): boolean;
static isArtist(uri: any): boolean;
static isArtistToplist(uri: any): boolean;
static isArtistConcerts(uri: any): boolean;
static isAudioFile(uri: any): boolean;
static isCollection(uri: any): boolean;
static isCollectionAlbum(uri: any): boolean;
static isCollectionArtist(uri: any): boolean;
static isCollectionMissingAlbum(uri: any): boolean;
static isCollectionTrackList(uri: any): boolean;
static isConcert(uri: any): boolean;
static isContextGroup(uri: any): boolean;
static isDailyMix(uri: any): boolean;
static isEmpty(uri: any): boolean;
static isEpisode(uri: any): boolean;
static isFacebook(uri: any): boolean;
static isFolder(uri: any): boolean;
static isFollowers(uri: any): boolean;
static isFollowing(uri: any): boolean;
static isImage(uri: any): boolean;
static isInbox(uri: any): boolean;
static isInterruption(uri: any): boolean;
static isLibrary(uri: any): boolean;
static isLive(uri: any): boolean;
static isRoom(uri: any): boolean;
static isExpression(uri: any): boolean;
static isLocal(uri: any): boolean;
static isLocalTrack(uri: any): boolean;
static isLocalAlbum(uri: any): boolean;
static isLocalArtist(uri: any): boolean;
static isMerch(uri: any): boolean;
static isMosaic(uri: any): boolean;
static isPlaylist(uri: any): boolean;
static isPlaylistV2(uri: any): boolean;
static isPrerelease(uri: any): boolean;
static isProfile(uri: any): boolean;
static isPublishedRootlist(uri: any): boolean;
static isRadio(uri: any): boolean;
static isRootlist(uri: any): boolean;
static isSearch(uri: any): boolean;
static isShow(uri: any): boolean;
static isSocialSession(uri: any): boolean;
static isSpecial(uri: any): boolean;
static isStarred(uri: any): boolean;
static isStation(uri: any): boolean;
static isTempPlaylist(uri: any): boolean;
static isToplist(uri: any): boolean;
static isTrack(uri: any): boolean;
static isTrackset(uri: any): boolean;
static isUserToplist(uri: any): boolean;
static isUserTopTracks(uri: any): boolean;
static isUnknown(uri: any): boolean;
static isMedia(uri: any): boolean;
static isQuestion(uri: any): boolean;
static isPoll(uri: any): boolean;
static isPlaylistV1OrV2(uri: any): boolean;
}