@jellyfin/sdk
Version:
A TypeScript SDK for Jellyfin.
10 lines (9 loc) • 368 B
TypeScript
/**
* Check if given version is less than a baseline
*
* Versions must be in semver format: X.Y.Z (Major.Minor.Patch)
* @throws If version is not in a numeric-only semver format
* @param check - The version to check
* @param baseline - The minimum version considered supported
*/
export declare function isVersionLess(check: string, baseline: string): boolean;