Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 574 Bytes

assertLe.md

File metadata and controls

30 lines (20 loc) · 574 Bytes

assertLe

Signature

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

Description

Asserts left is less than or equal to right.

Optionally includes an error message in the revert string.

SEE ALSO