Skip to content

assertcheck v1.0.0


assertcheck / assert / greaterOrEqual

Function: greaterOrEqual()

ts
function greaterOrEqual(
   a, 
   b, 
   opts?): void;

Defined in: src/assert.ts:601

Asserts that a >= b.

Parameters

ParameterType
anumber
bnumber
opts?Opts

Returns

void

Example

ts
`assert.greaterOrEqual(balance, amount, "insufficient funds")`

Released under the Apache 2.0 License. Built by Vagabond Studio — senior-only for growing companies.