class Ethon::Easy::Form

def multipart?

Experimental RBS support (using type sampling data from the type_fusion project).

def multipart?: () -> false

This signature was generated using 41 samples from 2 applications.

Returns:
  • (Boolean) - True if form is multipart, else false.

Other tags:
    Example: Return if form is multipart. -
def multipart?
  return true if @multipart
  query_pairs.any?{|pair| pair.respond_to?(:last) && pair.last.is_a?(Array)}
end