Skip to content
instance method

Hash#has_value?

(V arg0) -> bool
has_value?(value) → true or false

Returns whether value is a value in self.

Related: Methods for Querying.

See also #has_key? #include? #hash #initialize_copy also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0