Documentation ¶
Overview ¶
Package slicemap provides simple slice & map utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get returns a value from a map in a specified type. If either item is not present or of a different type, ok = false.
func In ¶
func In[T constraints.Ordered](s []T, query T) bool
In check if query is an element of the list.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.