Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAnyString ¶
ContainsAnyString returns true if string slice s contains any of matches
func ContainsInt ¶
ContainsInt returns true if int slice s contains match
func ContainsString ¶
ContainsString returns true if string slice s contains match
func Subtract ¶
func Subtract[T comparable](a []T, b []T) []T
Subtract removes items in slice b from slice a, returning the result. Implemented using a map for greater efficiency than lo.Difference / lo.Without, when operating on large slices.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.