A nonempty list that will always have one element selected
NOTE
For size and performance reasons, the public properties are not
truly immutable, meaning they can be reassigned, but doing so
will result in unexpected behavior due to mutations made to
internal state. Please treat them as readonly — as intended
Apply a transformation function to each element in the SelectList.
The transformation function receives a Position based on its current
location in the SelectList
Type parameters
b
Parameters
fn: function
(element: a, index?: number, position?: Position): b
Shift the selected element to the first element which passes
the provided predicate function. If no element is found, the
SelectList will not be changed
A nonempty list that will always have one element selected
NOTE For size and performance reasons, the public properties are not truly immutable, meaning they can be reassigned, but doing so will result in unexpected behavior due to mutations made to internal state. Please treat them as readonly — as intended