/**
 * DevExtreme (cjs/renovation/ui/scroll_view/utils/clamp_into_range.js)
 * Version: 22.2.7 (build 23219-0309)
 * Build date: Mon Aug 07 2023
 *
 * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
 * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
 */
"use strict";
exports.clampIntoRange = clampIntoRange;

function clampIntoRange(value, max, min) {
    return Math.max(Math.min(value, max), min)
}
