(volumePercentage: Percentage)
| 31 | * @returns `true` if increasing by one step would remain at or below the maximum, `false` otherwise. |
| 32 | */ |
| 33 | export function canIncreaseVolume(volumePercentage: Percentage) { |
| 34 | return volumePercentage + VOLUME_STEP <= MAXIMUM_VOLUME_PERCENTAGE; |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Decreases the volume by one step, clamping to the minimum. |
no outgoing calls
no test coverage detected