method

value?

v1_8_6_287 - Show latest stable - Class: Hash
value?(p1)
public

Returns true if the given value is present for some key in hsh.

   h = { "a" => 100, "b" => 200 }
   h.has_value?(100)   #=> true
   h.has_value?(999)   #=> false