Is there an API for detecting whether or not a Slider's value is incrementing or decrementing?

I would like to know in which direction a Slider’s value is changing; increasing or decreasing.

Currently I store the value in a variable (“prev”) and then perform my comparison when a change notification is fired. It works; but is prone to silly errors during the development process.

It would be nice to have something like
void sliderValueChanged(juce::Slider slider, bool isIncrementing) override*

Does something out there already exist? I haven’t found it, if it does.