Gets the type of the object as a string.
== Function ==
=== Synopsis ===
<source lang="lua">
type = Object:type()
</source>
=== Arguments ===
None.
=== Returns ===
{{param|string|type|The type as a string.}}
== Examples ==
=== Printing the type of an object ===
<source lang="lua">
image = love.graphics.newImage("test.png")
print(image:type()) -- outputs: Image
source = love.audio.newSource("test.ogg")
print(source:type()) -- outputs: Source
</source>

== See Also ==
* [[parent::Object]]
{{#set:Description=Gets the type of the object as a string.}}
{{#set:Since=000}}
[[Category:Functions]]
== Other Languages ==
{{i18n|Object:type}}