love.isVersionCompatible
Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
Gets whether the given version is compatible with the current running version of LÖVE.
Contents
Function
Synopsis
compatible = love.isVersionCompatible( version )
Arguments
string version
- The version to check (for example
'11.3'
or'0.10.2'
).
Returns
boolean compatible
- Whether the given version is compatible with the current running version of LÖVE.
Function
Synopsis
compatible = love.isVersionCompatible( major, minor, revision )
Arguments
number major
- The major version to check (for example
11
for 11.3 or0
for 0.10.2). number minor
- The minor version to check (for example
3
for 11.3 or10
for 0.10.2). number revision
- The revision of version to check (for example
0
for 11.3 or2
for 0.10.2).
Returns
boolean compatible
- Whether the given version is compatible with the current running version of LÖVE.
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