Is a hash empty : empty « Hash « Ruby






Is a hash empty

counties = { "Three" => 3, "Five" => 5 }

counties.empty? # => true

 

Related examples in the same category