Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2/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