clamp built-in function

I cannot find a clamp built-in function in the docs ( I see only saturate() )… Is there any or do I need to write my own one?

thx