• limits a value to the range given by min/max

    Parameters

    • value: number
    • min: number
    • max: number

    Returns number