getByLabelOrNull

fun getByLabelOrNull(label: String): T?

Returns the first kind whose label equals label, or null. Labels are unique per hierarchy (enforced at compile time), so the match is unambiguous.