Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendUnique ¶
func AppendUnique[S ~[]E, E comparable](s S, vs ...E) S
AppendUnique appends unique (not already in the slice) values to a slice.
func ApplyToAll ¶ added in v0.76.0
func ApplyToAll[S ~[]E1, E1, E2 any](s S, f func(E1) E2) []E2
ApplyToAll returns a new slice containing the results of applying the function `f` to each element of the original slice `s`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.