Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
Contains try loop over the data check if the data includes the element.
data allow types: string, map, array, slice
map - check key exists string - check sub-string exists array,slice - check sub-element exists
Returns:
- valid: data is valid
- found: element was found
return (false, false) if impossible. return (true, false) if element was not found. return (true, true) if element was found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.