const isText = (variableNode: VariableNode) =>
  ((variableNode.kind == "variable_declaration" ||
    variableNode.kind == "parameter_application") &&
    ["text", "text_placeholder"]
      .includes(variableNode.args.data_value.kind)) ||