orbit-shared / orbit.shared.addressable / Key / of

of

fun of(value: Any): Key

Creates a key from a given value.

Parameters

value - The value to convert to a key.

Exceptions

IllegalArgumentException - If the provided value can not be converted to a key.

Return
The key.