Learn R Programming

spotifyr (version 2.2.4)

validate_position_ms: validate position_ms parameter

Description

validate position_ms parameter

Usage

validate_position_ms(position_ms)

Value

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

Arguments

position_ms

Optional. Integer indicating from what position to start playback. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song.