Learn R Programming

spotifyr (version 2.2.4)

validate_state: validate state parameter

Description

validate state parameter

Usage

validate_state(state)

Value

A boolean if the parameter matches the Spotify Web API parameter range.

Arguments

state

The state parameter must be exactly one of 'track', 'context' or 'off'.