UtilitiesFunctionsminMaxPointArrayYVersion: NextminMaxPointArrayY CallableminMaxPointArrayY(points: Point2D[]): { maxVal: number; minVal: number }Parameterspoints: Point2D[]Returns { maxVal: number; minVal: number }maxVal: numberminVal: number