IsSemanticVersionNewer (open)

Compares two semantic version strings, returns it the second version string is newer than the first

Syntax

LOADLIB "wh::util/semver.whlib";

BOOLEAN FUNCTION IsSemanticVersionNewer(STRING fromversion, STRING toversion)

Parameters

STRING fromversion

First semantic version string

STRING toversion

Second semantic version string

Return value

BOOLEAN

TRUE if the toversion semantic string is newer than the fromversion semantic string