def width_of
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
2423def width_of(value: Maybe<&2, Lint.Value>) -> Maybe<&2, U32>:
2424 match value:
2425 case Some{Lint.Num{n}}:
2426 Some{n}
2427 case _:
2428 None{}