validate_volume_percent: Validate volume percent parameter

View source: R/assertions.R

validate_volume_percentR Documentation

Validate volume percent parameter

Description

Validate volume percent parameter

Usage

validate_volume_percent(volume_percent)

Arguments

volume_percent

Required integer value. The volume to set. Must be a value from 0 to 100 inclusive. Defaults to 50.

Value

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


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