ByteDurableDb.snapshot.root.get.item.checked: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as ByteDurableDb Lines 2853-2862 of mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend&start_line=2853&end_line=2862 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def snapshot.root.get.item.checked( value: Maybe<&1, Bytes.Bytes>, matches: Bool ) -> Maybe<&1, Bytes.Bytes>: match value: case None{}: None{} case Some{bytes}: match matches: case True{}: Some{bytes} case False{}: None{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes