Hex.Digit.is_zero: def of bend-trace-context@0.2.0.0 Import: import bend-trace-context@0.2.0.0/src/hex.bend as Hex Lines 106-140 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=106&end_line=140 import Base # Whether the digit is 0. An identifier is all zero when every digit is. def Digit.is_zero(digit: Digit) -> Bool: match digit: case H0{}: True{} case H1{}: False{} case H2{}: False{} case H3{}: False{} case H4{}: False{} case H5{}: False{} case H6{}: False{} case H7{}: False{} case H8{}: False{} case H9{}: False{} case Ha{}: False{} case Hb{}: False{} case Hc{}: False{} case Hd{}: False{} case He{}: False{} case Hf{}: False{} 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