import { tweenValue as e } from "./tween.js";
//#region ../../node_modules/d3-transition/src/transition/text.js
function t(e) {
	return function() {
		this.textContent = e;
	};
}
function n(e) {
	return function() {
		this.textContent = e(this) ?? "";
	};
}
function r(r) {
	return this.tween("text", typeof r == "function" ? n(e(this, "text", r)) : t(r == null ? "" : r + ""));
}
//#endregion
export { r as default };
