closestMatch

abstract fun closestMatch(candidate: T)(source)

Calling this method indicates that the candidate is the closest match. It is allowed to call this method several times with different values, in which case it indicates that multiple candidates are equally compatible.

Parameters

candidate

The closest match. Must be present in getCandidateValues.