Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[S1 ~[]E, E comparable](needle E, haystack S1) bool
Contains returns true if haystack contains needle.
func ContainsAll ¶
func ContainsAll[S1, S2 ~[]E, E comparable](needle S1, haystack S2) bool
ContainsAll returns true if haystack contains all the elements in needle, in any order. If both needle and haystack are empty this returns true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.