Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating resource.
Please try to avoid dependencies to third-party libraries and frameworks.
m.containsValue(v);
Map.values(m) |> Enum.member?(v)
func containsValue(m map[K]T, v T) bool { for _, x := range m { if x == v { return true } } return false }
elem v (elems m)
Object.values(m).includes(v)
[...m.values()].includes(v)
in_array($v, $m, true);
print "Found it!" if exists $m{$v};
v in m.values()
m.value?(v)
!m.values.find(_ == v).isEmpty()