arrayx

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Join

func Join[T any](arrs ...[]T) []T

Joins slices

func Map

func Map[T, R any](arr []T, fn func(elem T) R) []R

Maps slice elements using function

func New added in v1.0.7

func New[T any](dim1, dim2 int) [][]T

Creates multi-dimensional array

func RemoveAt added in v1.1.2

func RemoveAt[T any](arr []T, index int) []T

* Removes element at specified index from slice * Example: arr = utils.Remove(arr, 3) *

func Repeat

func Repeat[T any](value T, count int) []T

Repeats value to array with specified length

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL