Vinyl
    Preparing search index...

    Function clamp

    • Clamps the given value between min and max.

      Parameters

      • value: number
      • min: number

        The lower bounds.

      • max: number

        The upper bounds. If this value is less than min, this value will always be returned.

      Returns number