clamp

Returns min(max(x, min_val), max_val), Results are undefined if min_val > max_val.

@safe pure nothrow
CommonType!(T1, T2, T3)
clamp
(
T1
T2
T3
)
(
T1 x
,,)

Meta