Hosanna UI API v1.30.2-next
    Preparing search index...
    • Interpolates between two values based on their type.

      • Strings: uses interpolateString
      • Numbers: uses interpolateNumber
      • Arrays: uses interpolatePoint
      • Objects: uses interpolateAA
      • Colors: special handling when context.isColorProperty is true

      Parameters

      • a: any

        The starting value.

      • b: any

        The ending value.

      • fraction: number

        The interpolation fraction (0 to 1).

      • Optionalcontext: { isColorProperty?: boolean }

        Optional context for interpolation behavior.

        • OptionalisColorProperty?: boolean

          Whether this interpolation is for a color property.

      Returns any

      The interpolated value.