validate_state {spotifyr}R Documentation

validate state parameter

Description

validate state parameter

Usage

validate_state(state)

Arguments

state

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

Value

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


[Package spotifyr version 2.2.5 Index]