wima
    Preparing search index...

    Function clamp

    • Clamps a value between two numbers.

      Parameters

      • value: number

        The number to clamp.

      • min: number

        The minimal bound of the clamped number.

      • max: number

        The maximum bound of the clamped number.

      Returns number