Hosanna UI API v1.30.2-next
    Preparing search index...
    • Interpolates between two objects.

      • Returns a or b based on the fraction.

      Parameters

      • a: Record<string, any>

        The starting object.

      • b: Record<string, any>

        The ending object.

      • fraction: number

        The interpolation fraction (0 to 1).

      Returns Record<string, any>

      The interpolated object.