Function: toLabeledValues()
toLabeledValues(
items,upper):LabeledValue[]
Converts the array of elements into the array of LabeledValue elements.
Parameters
items
(string | number | LabeledValue)[]
the array of elements.
upper
boolean = true
if true, the first character in LabeledValue.label will be capitalized.
Returns
the array of LabeledValue elements.