function
IsValidSemanticVersionRange
Check a non-empty half-open semantic-version interval.
Arguments
| Argument | Type | Description |
|---|---|---|
minimum | string | Required inclusive complete semantic version. |
maximumExclusive | string | Optional exclusive complete semantic version. |
Returns
True when both bounds are valid and the exclusive maximum is greater than the minimum.
boolFull signature
func IsValidSemanticVersionRange(
minimum,
maximumExclusive string,
) bool