• Adds a scaled value to another value, supporting numbers, arrays, or step addition for other types.

    Parameters

    • a: any

      The base value.

    • b: any

      The value to add, scaled by the proportion.

    • prop: number

      The scaling proportion for the value to add.

    Returns any

    The result of adding the scaled value to the base value.