* Toggles a value between selected and deselected. * @param value The value to toggle * @return Whether the selection changed as a result of this call
(value: T)
| 102 | * @return Whether the selection changed as a result of this call |
| 103 | */ |
| 104 | toggle(value: T): boolean { |
| 105 | return this.isSelected(value) ? this.deselect(value) : this.select(value); |
| 106 | } |
| 107 | |
| 108 | /** |
| 109 | * Clears all of the selected values. |
nothing calls this directly
no test coverage detected