Skip to content

assertcheck v1.0.0


assertcheck / assert / less

Function: less()

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

Defined in: src/assert.ts:630

Asserts that a < b.

Parameters

ParameterType
anumber
bnumber
opts?Opts

Returns

void

Example

ts
`assert.less(latencyMs, 200, "latency too high")`

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