I ask for a number because the additive behavior adds the numbers (tween contributions) together. You could return a string and use the destructive or stacking behavior, but at this point it becomes a bit error-prone. We don't have type checking anyways, so I put Number as sensible return type. Theoretically you could pass other random types and make things work.
I'll close this since this is the preferred return type. Thanks for the attention to detail though! =)
I ask for a number because the additive behavior adds the numbers (tween contributions) together. You could return a string and use the destructive or stacking behavior, but at this point it becomes a bit error-prone. We don't have type checking anyways, so I put
Number
as sensible return type. Theoretically you could pass other random types and make things work.I'll close this since this is the preferred return type. Thanks for the attention to detail though! =)