VersionSatisfiesRange (open)

Check if a semantic version matches the specified range

Syntax

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

BOOLEAN FUNCTION VersionSatisfiesRange(STRING version, STRING semverrange)

Parameters

STRING version

Version to check

STRING semverrange

Semver range to check against

Return value

BOOLEAN

True if 'version' qualifies