Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 575 Bytes

assertGt.md

File metadata and controls

30 lines (20 loc) · 575 Bytes

assertGt

Signature

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

Description

Asserts left is strictly greater than right.

Optionally includes an error message in the revert string.

SEE ALSO