Expand description
Operator application for magic rule evaluation
This module provides functions for applying comparison and bitwise operators to values during magic rule evaluation. It handles type-safe comparisons between different Value variants.
Functionsยง
- apply_
bitwise_ and - Apply bitwise AND operation for pattern matching
- apply_
equal - Apply equality comparison between two values
- apply_
greater_ equal - Apply greater-than-or-equal comparison between two values
- apply_
greater_ than - Apply greater-than comparison between two values
- apply_
less_ equal - Apply less-than-or-equal comparison between two values
- apply_
less_ than - Apply less-than comparison between two values
- apply_
not_ equal - Apply inequality comparison between two values
- apply_
operator - Apply operator to two values using the specified operator type
- compare_
values - Compare two values and return their ordering, if comparable