CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
compareVersions.d.ts9 linesDownload Raw Back to esm
1/**2 * Compare [semver](https://semver.org/) version strings to find greater, equal or lesser.3 * This library supports the full semver specification, including comparing versions with different number of digits like `1.0.0`, `1.0`, `1`, and pre-release versions like `1.0.0-alpha`.4 * @param v1 - First version to compare5 * @param v2 - Second version to compare6 * @returns Numeric value compatible with the [Array.sort(fn) interface](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Parameters).7 */8export declare const compareVersions: (v1: string, v2: string) => 0 | 1 | -1;9 
basant307/AI_Governance_Project · CoolFace