UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

11 lines (9 loc) 198 B
// @ts-nocheck /** * @param min * @param value * @param max */ export default function within(min: number, value: number, max: number): number { return Math.max(min, Math.min(value, max)); }