def type_name
import bend-lint-api@0.2.0.0/linter/lint.bend as Lintimport Base
861# The type the first of `nodes` writes, as one name, or "" for another form (an application, a list).
862def type_name(nodes: List<&2, Node>) -> String:
863 match nodes:
864 case Con{Node{Reference{t}, n, s, k, f}, rest}:
865 t
866 case _:
867 ""