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

std/semver/ltr.ts>ltr

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

Greater than range comparison

Returns

boolean

Parameters

version: string | SemVer
range: string | SemVerRange
optional
options: { includePrerelease: boolean; }

Returns

boolean