getOptionKey

abstract var getOptionKey: (option: Value) -> Any?(source)

Used to determine the key for a given option. This can be useful when the labels of options are not unique (since labels are used as keys by default).

Parameters

{Value} option The option to get the key for.