export default function minMax(value = 0, min = 0, max = 0): number { return Math.min(Math.max(value, min), max) }