eval_condition: If x is a terminating branch (has only leaves as children),...

Description Usage

Description

If x is a terminating branch (has only leaves as children), then evaluate those children, apply operator, and return value. Otherwise, recursively evaluate any children that are branches, then evaluate children that are leaves, apply operator, and return value.

Usage

1
eval_condition(x, pointer, user.id, course.id)

TheFridayInstitute/fimoodler documentation built on May 28, 2019, 9:37 a.m.