Hex.Digit.is_odd: def of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/src/hex.bend as Hex Lines 142-177 of bend-trace-context@0.2.0.0/src/hex.bend: https://jend.leeeet.dev/read.txt?path=bend-trace-context@0.2.0.0/src/hex.bend&start_line=142&end_line=177 import Base # Whether bit 0 (value 1) of the digit is set. In the last digit of the flags # this is the sampled flag (W3C 3.2.2.5.1). def Digit.is_odd(digit: Digit) -> Bool: match digit: case H0{}: False{} case H1{}: True{} case H2{}: False{} case H3{}: True{} case H4{}: False{} case H5{}: True{} case H6{}: False{} case H7{}: True{} case H8{}: False{} case H9{}: True{} case Ha{}: False{} case Hb{}: True{} case Hc{}: False{} case Hd{}: True{} case He{}: False{} case Hf{}: True{} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bend-trace-context@0.2.0.0/src/hex.bend&name=Digit