Retracted
Discover Packages
github.com/smartcontractkit/chainlink-testing-framework/lib
utils
slice
package
Version:
v1.99.1
Opens a new window with list of versions in this module.
Published: Sep 2, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func DivideSlice[T any ](slice []T, parts int ) [][]T
DivideSlice divides a slice into a number of parts. It aims for the most equal distribution possible.
ValidateAndDeduplicateAddresses validates a slice of addresses and deduplicates them. It returns the deduplicated slice and a boolean indicating if there were duplicates.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.