hosanna-ui-docs - v0.9.0
    Preparing search index...
    • Utility function to clamp a number within a specified range. Ensures that the value does not exceed the given minimum or maximum bounds.

      Parameters

      • value: number

        The number to clamp.

      • min: number

        The minimum allowable value.

      • max: number

        The maximum allowable value.

      Returns number

      The clamped value, constrained between min and max.