validate_position_ms: validate position_ms parameter

View source: R/assertions.R

validate_position_msR Documentation

validate position_ms parameter

Description

validate position_ms parameter

Usage

validate_position_ms(position_ms)

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.

Value

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


spotifyr documentation built on Dec. 28, 2022, 2:08 a.m.