Function min2

Find minimum of two values

T min2(T) (
  T x,
  T y
) nothrow;

Example

assert(min2(2, 1) == 1);