love / 11.3 / source-gettype.html /

Source:getType

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

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Source:getType