Comparators.sol 355 B

1234567891011121314
  1. // SPDX-License-Identifier: MIT
  2. // OpenZeppelin Contracts (last updated v5.1.0-rc.0) (utils/Comparators.sol)
  3. pragma solidity ^0.8.20;
  4. library Comparators {
  5. function lt(uint256 a, uint256 b) internal pure returns (bool) {
  6. return a < b;
  7. }
  8. function gt(uint256 a, uint256 b) internal pure returns (bool) {
  9. return a > b;
  10. }
  11. }