random

fun random(random: Random = Random, filter: (T) -> Boolean? = null): T?

Returns a random entry of the registry.