func SliceElementsContained(superset []string, subset []string) bool {
	m := SliceToMap(superset)
	for _, elem := range subset {
		if _, ok := m[elem]; !ok {
			return false
		}
	}
	return true
}
// SliceElementsContained returns true if superset contains subset.
//
// Nil and empty slices are treated as equals.
SliceElementsContained returns true if superset contains subset.

Nil and empty slices are treated as equals.
// SliceElementsContained returns true if superset contains subset . // // Nil and empty slices are treated as equals .
func SliceElementsContained(superset []string, subset []string) bool {
	m := SliceToMap(superset)
	for _, elem := range subset {
		if _, ok := m[elem]; !ok {
			return false
		}
	}
	return true
}
func SliceElementsContained ( superset [ ] string , subset [ ] string ) bool { m := SliceToMap ( superset ) for _ , elem := range subset { if _ , ok := m [ elem ] ; ! ok { return false } } return true }
SliceElementsContained returns true if superset contains subset.
SliceElementsContained returns true if superset contains subset .