{"modulePath":"github.com/smartcontractkit/chainlink-testing-framework","version":"v1.35.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package slice\n\n## Functions\n\n```go\nfunc DivideSlice[T any](slice []T, parts int) [][]T\n```\nDivideSlice divides a slice into a number of parts. It aims for the most equal distribution possible.\n\n```go\nfunc ValidateAndDeduplicateAddresses(addresses []string) ([]string, bool, error)\n```\nValidateAndDeduplicateAddresses validates a slice of addresses and deduplicates them. It returns the deduplicated slice and a boolean indicating if there were duplicates.\n\n","path":"github.com/smartcontractkit/chainlink-testing-framework/utils/slice","name":"slice","synopsis":"","isRedistributable":true}
