UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

2 lines (1 loc) 79 B
export const clamp = (value, min, max) => Math.max(min, Math.min(value, max));