UNPKG

64 BJavaScriptView Raw
1export const isInRange = (min, max, x) => x >= min && x <= max;