Skip to main content

is_aborting_call

Function is_aborting_call 

Source
fn is_aborting_call(expr: &Expr<'_>) -> bool
Expand description

Returns true when the expression-statement is a builtin call that always terminates execution: revert() / revert("msg"), selfdestruct(...), require(false, ...), or assert(false).