Difference between revisions of "Object:type (Español)"
(Created page with "Obtiene el tipo del objeto como una cadena(string). == Function == === Synopsis === <source lang="lua"> type = Object:type() </source> === Arguments === None. === Returns === {{...") |
|||
Line 20: | Line 20: | ||
== See Also == | == See Also == | ||
* [[parent::Object (Español)]] | * [[parent::Object (Español)]] | ||
− | {{#set:Description= | + | {{#set:Description=Obtiene el tipo del objeto como una cadena(string).}} |
{{#set:Since=000}} | {{#set:Since=000}} | ||
[[Category:Functions]] | [[Category:Functions]] | ||
== Other Languages == | == Other Languages == | ||
{{i18n|Object:type}} | {{i18n|Object:type}} |
Latest revision as of 02:55, 26 June 2011
Obtiene el tipo del objeto como una cadena(string).
Contents
Function
Synopsis
type = Object:type()
Arguments
None.
Returns
string type
- El tipo es cadena(string).
Examples
Imprimir los tipos de un objeto
image = love.graphics.newImage("test.png")
print(image:type()) -- outputs: Image
source = love.audio.newSource("test.ogg")
print(source:type()) -- outputs: Source
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info