%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/var/www/html/node_modules/@popperjs/core/lib/utils/
Upload File :
Create Path :
Current File : //proc/self/root/var/www/html/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;
}

Zerion Mini Shell 1.0