Keep the Smaller or Larger Value
Return the smaller or larger of two comparable values so callers can keep a running minimum or maximum without writing the comparison themselves.
This page is in English. Your browser can translate it.
Return the smaller or larger of two comparable values so callers can keep a running minimum or maximum without writing the comparison themselves.