shouldSnapTo

abstract fun shouldSnapTo(value: T, from: T): Boolean(source)

Return

true if the slider should snap to value when at from.

Parameters

value

of snap point

from

the slider's current value