Number clamp Clamp a number to an inclusive range with clear bounds checking. No dependencies, no service to run — just the standard library. clamp.ts See the test next to the source for usage.