fromAny

fun fromAny(age: Any): Age(source)

Returns the corresponding age in this enum given a string resembling it.

Parameters

age
the age as a string.