I think what you're looking for is in the Types module: https://chapel-lang.org/docs/modules/standard/Types.html#Types.max
Note that the Types module is provided by default, so no use or import statement should be necessary to access it.