@oaklean/profiler-core
Version:
Part of the @oaklean suite. It provides all basic functions to work with the `.oak` file format. It allows parsing the `.oak` file format as well as tools for analyzing the measurement values. It also provides all necessary capabilities required for prec
14 lines (13 loc) • 396 B
TypeScript
export declare class VersionHelper {
/**
* Compare two version strings.
*
* @param version - The version to compare.
* @param to - The version to compare to.
* @returns The comparison
* 1 if version is greater than to
* - 1 if version is less than to
* 0 if version is equal to to
**/
static compare(version: string, to: string): number;
}