getOptionMetadata
A function that returns the metadata of an option with a given value.
Parameters
optionValue
the value of the option
A function that returns the metadata of an option with a given value.
the value of the option