invoke

operator fun invoke(min: Level, max: Level): LevelRange

Operator invoke function that ensures minimum and maximum levels are ordered correctly.

Parameters

min

minimum level

max

maximum level