Documentation ¶
Index ¶
- func AppendFirst[S ~[]E, E any](s S, e E) S
- func AppendIfNotContains[S ~[]E, E comparable](s S, v E) S
- func Delete[S ~[]E, E any](s S, i int) S
- func DeleteAll[S ~[]E, E any](array S, indices ...int) S
- func IsEmpty[S ~[]E, E any](s S) bool
- func IsNotEmpty[S ~[]E, E any](s S) bool
- func Remove[S ~[]E, E comparable](s S, v E) S
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendFirst ¶
func AppendFirst[S ~[]E, E any](s S, e E) S
func AppendIfNotContains ¶
func AppendIfNotContains[S ~[]E, E comparable](s S, v E) S
func IsNotEmpty ¶
func Remove ¶
func Remove[S ~[]E, E comparable](s S, v E) S
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.