validate_state: validate state parameter

View source: R/assertions.R

validate_stateR 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.


spotifyr documentation built on Oct. 30, 2024, 9:13 a.m.