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#key?

key?(*args)

Alias of #has_key?

Returns true if a given query string parameter exists.

See also #has_key? #initialize_query #keys #include? also in 3.4 · 3.3 · 3.1 · 3.0