set

fun set(value: Int)(source)

Sets the counter to value, clamped to [min, max].