def compared
import bendvy-ecs-core@0.1.0.3/decode_utf16.bend as DecodeUtf16import Base
12def compared(+head:U32,other:List<&2,U32>,next:List<&2,U32> -> Bool) -> Bool:
13 match other:
14 case []: False{}
15 case value <> tail: U32.is_eq(head,value) && next(tail)