CrashPointPolicy.nonempty: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/CrashPointPolicy.bend as CrashPointPolicy Lines 3-8 of mylsm-lsm-store@0.6.0.1/src/CrashPointPolicy.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/CrashPointPolicy.bend&start_line=3&end_line=8 import Base # Pure checkpoint policy. An unset value is represented by the empty string; # the non-empty guard distinguishes disabled injection from an exact match. def nonempty(value: String) -> Bool: match value: case SNil{}: False{} case SCon{_, _}: True{} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String