API Reference

abstract Version(SemVer)

package lime.project

from SemVer, to SemVer,


Available on Neko, macOS, Linux, Windows

Variables

read onlybuild:String

read onlyhasBuild:Bool

read onlyhasPre:Bool

read onlymajor:Int

read onlyminor:Int

read onlypatch:Int

read onlypre:String

Methods

different (other:Version):Bool

equals (other:Version):Bool

greaterThan (other:Version):Bool

greaterThanOrEqual (other:Version):Bool

lessThan (other:Version):Bool

lessThanOrEqual (other:Version):Bool

nextBuild ():Version

nextMajor ():Version

nextMinor ():Version

nextPatch ():Version

nextPre ():Version

inline satisfies (rule:VersionRule):Bool

toString ():String

withBuild (build:String):Version

withPre (pre:String, ?build:String):Version

Static methods

staticarrayToVersion (a:Array<Int>):Version

staticstringToVersion (s:String):Version

© 2017  http://www.openfl.org