Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/deps.ts>asserts.assertGreater

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

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

Parameters

actual: T
expected: T
optional
msg: string