Sets the current selection to an index in the options array, or to the given option if present. Please note that the string version may do a linear lookup.
the index you passed in
See Implementation
The string based overload was added on March 1, 2022 (dub v10.7).
The return value was void prior to March 1, 2022.
Sets the current selection to an index in the options array, or to the given option if present. Please note that the string version may do a linear lookup.