def is_declaration
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
1053def is_declaration(s: Sym) -> Bool:
1054 match s:
1055 case KwDef{}:
1056 True{}
1057 case KwType{}:
1058 True{}
1059 case KwLaw{}:
1060 True{}
1061 case At{}:
1062 True{}
1063 case _:
1064 False{}