Skip to main content

always_reverts

Function always_reverts 

Source
fn always_reverts(
    gcx: Gcx<'_>,
    contract: ContractId,
    func: &Function<'_>,
) -> bool
Expand description

True if invoking func always reverts, through its body or an attached modifier (one that reverts before its first _ or after its last one).