Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/semver/mod.ts>comparatorMin

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function comparatorMin
Re-export
import { comparatorMin } from "https://deno.land/std@0.199.0/semver/mod.ts";

The minimum semantic version that could match this comparator

Parameters

semver: SemVer

The semantic version of the comparator

operator: Operator

The operator of the comparator

Returns

The minimum valid semantic version