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

x/lume/deps/assert.ts>assertLessOrEqual

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function assertLessOrEqual
import { assertLessOrEqual } from "https://deno.land/x/lume@v1.19.0/deps/assert.ts";

Make an assertion that actual is less than or equal to expected. If not then throw.

Parameters

actual: T
expected: T
optional
msg: string