Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

CGI::QueryExtension#has_key?

has_key?(*args)

Returns true if a given query string parameter exists.

See also #[] #include? #initialize_query also in 3.4 · 3.3 · 3.1 · 3.0