def is_newline
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
1112def is_newline(n: Tree) -> Bool:
1113 match n:
1114 case Leaf{Token{text, beg, end, col, Newline{}, sym, name, tail, from}}:
1115 True{}
1116 case _:
1117 False{}