package slice
import "k8s.io/kubernetes/pkg/kubectl/util/slice"
Index ¶
- func ContainsString(slice []string, s string, modifier func(s string) string) bool
- func SortInts64(a []int64)
Functions ¶
func ContainsString ¶
ContainsString checks if a given slice of strings contains the provided string. If a modifier func is provided, it is called with the slice item before the comparation.
func SortInts64 ¶
func SortInts64(a []int64)
SortInts64 sorts []int64 in increasing order
Source Files ¶
slice.go
- Version
- v1.14.0-alpha.2
- Published
- Jan 29, 2019
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 57 seconds ago –
Tools for package owners.