clamp(Number('foo'), 1, 10) should be inside range ? (it's NaN for now) If this is attended, i guess you might want to update the doc about it.