Skip to main content

is_code_length_test

Function is_code_length_test 

Source
fn is_code_length_test<'hir>(
    expr: &'hir Expr<'hir>,
    recipient: VariableId,
    has_code: bool,
) -> bool
Expand description

recipient.code.length compared against zero, for one polarity. Nothing else may ride along: in to.code.length > 0 && id == 5 the second operand decides whether the branch runs.