intellij-randomness / com.fwdekker.randomness.word / kotlin.collections.Set / minLength

minLength

fun Set<String>.minLength(): Int

Returns the length of the shortest word, or 1 if this set is empty.

Return
the length of the shortest word, or 1 if this set is empty