lookup

fun lookup(label: String?): Mode?(source)

Returns the entry whose label matches, or null if no match.