invoke

inline operator fun invoke(key: String): String

Operator that should be used in order to get rid of this:

val (t) = useTranslation()

and use this:

val t = useTranslation()

Return

localized value by key

Parameters

key

translation key

See also