Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 571 Bytes

assertLt.md

File metadata and controls

30 lines (20 loc) · 571 Bytes

assertLt

Signature

function assertLt(uint256 left, uint256 right) internal;
function assertLt(uint256 left, uint256 right, string memory err) internal;
function assertLt(int256 left, int256 right) internal;
function assertLt(int256 left, int256 right, string memory err) internal;

Description

Asserts left is strictly less than right.

Optionally includes an error message in the revert string.

SEE ALSO