Fallbacks
We can declare parameters to act in place of others if they are not specified. For example we can specify a circle either by its radius, diameter or circumference:
The fallback parameter must be declared with the appropriate transformation in order to provide the original expected value (the radius in the example above).
Syntactic sugar
Syntactic sugar for declaring fallbacks is available:
Last updated