Function min3

Find minimum of three values

T min3(T) (
  T x,
  T y,
  T z
) nothrow;

Example

assert(min3(3, 2, 1) == 1);
}

/**
* Limit to given range
*/
static if (__traits(compiles, (){import std.algorithm: clamp;