Difference between revisions of "Source:getType"

(Created page)
 
m ("static or stream" but there's queue.)
Line 1: Line 1:
 
{{newin|[[0.10.0]]|100|type=function|It has replaced [[Source:isStatic]]}}
 
{{newin|[[0.10.0]]|100|type=function|It has replaced [[Source:isStatic]]}}
Gets the type (static or stream) of the Source.
+
Gets the type of the Source.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 15: Line 15:
 
* [[SourceType]]
 
* [[SourceType]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the type (static or stream) of the Source.}}
+
{{#set:Description=Gets the type of the Source.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Source:getType}}
 
{{i18n|Source:getType}}

Revision as of 14:39, 24 October 2018

Available since LÖVE 0.10.0
This function is not supported in earlier versions.

Gets the type of the Source.

Function

Synopsis

sourcetype = Source:getType( )

Arguments

None.

Returns

SourceType sourcetype
The type of the source.

See Also

Other Languages