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

x/dtils/deps.ts>asserts.assertGreaterOrEqual

The best unofficial library of utilities for Deno applications
Latest
function asserts.assertGreaterOrEqual
import { asserts } from "https://deno.land/x/dtils@2.6.1/deps.ts";
const { assertGreaterOrEqual } = asserts;

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

Parameters

actual: T
expected: T
optional
msg: string