LearnNewsExamplesServices
Frontmatter
id3851
titleutil.Array: toggle() add a 3rd param to enforce add or remove
stateClosed
labels
enhancement
assigneestobiu
createdAtJan 14, 2023, 6:38 PM
updatedAtJan 14, 2023, 6:43 PM
githubUrlhttps://github.com/neomjs/neo/issues/3851
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 14, 2023, 6:43 PM

util.Array: toggle() add a 3rd param to enforce add or remove

Closed v8.1.0 enhancement
tobiu
tobiu commented on Jan 14, 2023, 6:38 PM

@maxrahder

optional convenience param to reduce boilerplate logic for add() and remove() calls.

tobiu added the enhancement label on Jan 14, 2023, 6:38 PM
tobiu assigned to @tobiu on Jan 14, 2023, 6:38 PM
tobiu referenced in commit 65d875f - "util.Array: toggle() add a 3rd param to enforce add or remove #3851" on Jan 14, 2023, 6:42 PM
tobiu closed this issue on Jan 14, 2023, 6:43 PM