fill

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fill

func Fill[T interface{}](input []T, filler T, opts ...int) []T

Fills elements of input with value from opts[0] up to, but not including, opts[1]. (Defaults: opts[0] = 0, opts[1] = len(input)]) Note: This method mutates input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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