Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hex/src/lib/stdx/mod.ts>semver.lte

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
function semver.lte
import { semver } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/mod.ts";
const { lte } = semver;

Less than or equal comparison

Parameters

v1: string | SemVer
v2: string | SemVer
optional
options: Options

Returns

boolean