UnneededPlus.is_once: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/language/unneeded_plus.bend as UnneededPlus Lines 68-76 of bend-lint-rules@0.2.0.0/language/unneeded_plus.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/language/unneeded_plus.bend&start_line=68&end_line=76 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # Whether a binder used `used` times needs no `+`: none or one use. def is_once(used: Maybe<&2, Lint.Quantity>) -> Bool: match used: case Some{Lint.Erased{}}: True{} case Some{Lint.Once{}}: True{} case _: False{} 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-lint-api@0.2.0.0/linter/lint.bend&name=Quantity