Remix
Remix
remix/data-schema/checks · FunctionView Source

max

Summary

Require a number to be less than or equal to limit.

Signature

function max(limit: number): Check<number>;

Parameters

limit

The inclusive maximum value

Returns

A Check that enforces the upper bound