Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
func Filter[T comparable](slice []T, conditions ...func(T) bool) []T
Filter - filter slice by conditions
@param slice - slice to filter @param conditions - conditions to filter by (array of functions) @return []T - filtered slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.