Difference between revisions of "Source:getType"

(Created page)
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.10.0]]|100|type=function|It has replaced [[Source:isStatic]]}}
+
{{newin|[[0.10.0]]|100|type=function|text=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}}

Latest revision as of 14:37, 2 December 2019

Available since LÖVE 0.10.0
It has replaced Source:isStatic.

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