(volumePercentage: Percentage)
| 21 | * @returns `true` if decreasing by one step would remain at or above the minimum, `false` otherwise. |
| 22 | */ |
| 23 | export function canDecreaseVolume(volumePercentage: Percentage) { |
| 24 | return volumePercentage - VOLUME_STEP >= MINIMUM_VOLUME_PERCENTAGE; |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Returns `true` if the volume can be increased by one step. |
no outgoing calls
no test coverage detected