function
SemanticVersionInRange
Test a version against a validated half-open interval.
Arguments
| Argument | Type | Description |
|---|---|---|
version | string | Candidate complete semantic version. |
minimum | string | Inclusive lower bound. |
maximumExclusive | string | Optional exclusive upper bound. |
Returns
True only when the version and range are valid and minimum ≤ version < maximumExclusive.
boolFull signature
func SemanticVersionInRange(
version,
minimum,
maximumExclusive string,
) bool