DoxigAlpha

isAtLeast

Checks if system is guaranteed to be at least version or older than version. Returns null if a runtime check is required.

Function parameters

Parameters

#

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#

Source

Implementation

#
pub fn isAtLeast(self: Range, ver: Version) ?bool {
    if (self.min.order(ver) != .lt) return true;
    if (self.max.order(ver) == .lt) return false;
    return null;
}