Files
x0x0b-ComfyUI-PromptHistory…/web/lib/numberUtils.js
T
x0x0b 9ce6b53e79 Refactor: General codebase cleanup and storage optimization (#38)
* refactor: streamline metadata handling with serialization helpers

* refactor: optimize metadata serialization and cleanup unused tags query

* lint
2025-12-26 07:17:53 +09:00

4 lines
89 B
JavaScript

export function clamp(value, min, max) {
return Math.min(max, Math.max(min, value));
}