ArrayStore.toggle()method

toggle(...items: T[]): void

Toggle one or more items in this array (add if absent, remove if present).