pub fn check_condition(condition: bool, err: BrineTreeError) -> ProgramResult
Expand description
Check a condition and return a custom error if false.
pub fn check_condition(condition: bool, err: BrineTreeError) -> ProgramResult
Check a condition and return a custom error if false.