Data type of DocType when fetching it via script

What data type does frappe.get_doc return? Is it a dictionary?

It’s a Document object.

You can call methods and access its fields as properties.

OK, cool. How about the object that functions like frappe.get_all return? According to one source, it’s a “list of dictionary objects,” which made no sense to me.