Assert Function
function myFunction() public {
uint x = 5;
uint y = 10;
assert(x < y);
// rest of the function code
}Last updated
function myFunction() public {
uint x = 5;
uint y = 10;
assert(x < y);
// rest of the function code
}Last updated