function endsWithTemplateCurly(node) {
	if (node.type === "BinaryExpression") {
		return startsWithTemplateCurly(node.right);
	}
	if (node.type === "TemplateLiteral") {
		return (
			node.expressions.length &&
			node.quasis.length &&
			node.quasis.at(-1).range[0] === node.quasis.at(-1).range[1]
		);
	}
	return node.type !== "Literal" || typeof node.value !== "string";
}
Determines whether a given node end with a template curly expression (`${}`) when being converted to a template literal.
@param {ASTNode} node The node that will be fixed to a template literal
@returns {boolean} `true` if the node will end with a template curly.