Files
niknah-presentation-ComfyUI/presentation-site/server/utils/getCamelName.js
T
2025-10-12 17:21:15 +11:00

5 lines
118 B
JavaScript

export default function (name) {
return name.substring(0, 1).toUpperCase()
+ name.substring(1).toLowerCase();
}