Function clamp

  • Returns a number for x that is between min and max

    Parameters

    • x: number
    • min: number
    • max: number

    Returns number

Generated using TypeDoc