On this page
love.isVersionCompatible
Available since LÖVE 0.10.0
This function is not supported in earlier versions.
Gets whatever the version is compatible with current running version of LÖVE.
Function
Synopsis
compatible = love.isVersionCompatible( version )
Arguments
-
string version - The version (for example: "0.10.1").
Returns
-
boolean compatible - Whatever is the version compatible.
Function
Synopsis
compatible = love.isVersionCompatible( major, minor, revision )
Arguments
-
number major - The major version, i.e. 0 for version 0.10.1.
-
number minor - The minor version, i.e. 10 for version 0.10.1.
-
number revision - The revision version, i.e. 1 for version 0.10.1.
Returns
-
boolean compatible - Whatever is the version compatible.
See Also
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.isVersionCompatible