MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / Any

Function Any

pkg/util/util.go:211–213  ·  view source on GitHub ↗
(items []T)

Source from the content-addressed store, hash-verified

209}
210
211func Any[T any](items []T) bool {
212 return !Empty(items)
213}
214
215func SliceDistinct[T comparable](slice []T) []T {
216 inResult := make(map[T]bool)

Callers 4

DeleteRunFunction · 0.92
viewRunFunction · 0.92

Calls 1

EmptyFunction · 0.85

Tested by

no test coverage detected