Skip to main content

toggle_multi_select_value

Function toggle_multi_select_value 

Source
pub fn toggle_multi_select_value(
    selected: &[SharedString],
    target: &SharedString,
) -> Vec<SharedString>
Expand description

Toggles target inside selected: removes it if present, or appends it at the end if absent.