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

std/semver/lt.ts>lt

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

Less than comparison

Returns

boolean

Parameters

s0: string | SemVer
s1: string | SemVer
optional
options: { includePrerelease: boolean; }

Returns

boolean