Skip to main content

reaches

Function reaches 

Source
fn reaches<'gcx>(
    gcx: Gcx<'gcx>,
    bases: &'gcx [ContractId],
    fid: FunctionId,
    hit: impl FnMut(&'gcx Expr<'gcx>) -> bool,
) -> bool
Expand description

True if hit matches an expression in fid’s body or, transitively, in the body of any internal function it calls.