Documentation ¶
Overview ¶
Package slicesx contains some helpful generic slice functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Interleave ¶
func Interleave[S ~[]T, T any](a, b S) S
Interleave combines two slices of the form [a, b, c] and [x, y, z] into a slice with elements interleaved; i.e. [a, x, b, y, c, z].
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.