Check Min Version
Signature
bool checkMinVersion(s32 major, s32 minor, s32 patch)
Description
Returns whether the provided Lua loader version matches with the current one (true
) or not (false
).
Arguments
Major
The major version number which indicates significant updates with major changes that break backwards compatibility.
Minor
The major version number which indicates updates with feature additions or improvements that do not break backward compatibility.
Patch
The major version number which indicates updates with bug fixes or minor improvements that do not affect existing features.
Example
Check Minimum Lua Loader Version
if not (checkMinVersion and checkMinVersion(1, 5, 1)) then
print("Invalid version.")
return
end
Last updated