Date.Date.is_eq: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/date.bend as Date Lines 227-233 of bend-time-lib@0.4.0.1/date.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/date.bend&start_line=227&end_line=233 import Base def Date.is_eq(a: Date, b: Date) -> Bool: match a b: case Date{+y1, +m1, +d1} Date{+y2, +m2, +d2}: Bool.and( U32.is_eq(y1, y2), Bool.and(U32.is_eq(m1, m2), U32.is_eq(d1, d2)) ) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/date.bend&name=Date