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

std/semver/mod.ts>lessOrEqual

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

Less than or equal to comparison

This is equal to compare(s0, s1) <= 0.

Returns

boolean