to

infix fun <T> String.to(value: T)(source)

Determines the key-to-value relation between the receiver string and the provided value.