nonVersionCompatible
function nonVersionCompatible(currentVersion: string, requiredVersion: string): boolean;
The negation of isVersionCompatible, for the guard clause that stops early when the environment is too old.
Parameters
Parameter | Type | Description |
|---|---|---|
|
| The version in hand. |
|
| The minimum that is acceptable. |
Returns
boolean — true when the current version is lower than required.
Examples
Leaving early
nonVersionCompatible("1.2.0", "1.3.0"); // => true
See also
Source
23 September 2026
This documentation was generated with AI (Claude) from the library's source code.