nuhkoca
09/27/2023, 9:49 PMSupportedType.Knockout,
SupportedType.Factor,
-> LeverageType.Long
Paul Dingemans
09/28/2023, 12:54 PMwhen {
SupportedType.Knockout,
SupportedType.Factor, -> LeverageType.Long
your alternative would be:
when {
SupportedType.Knockout, SupportedType.Factor -> LeverageType.Long
but as soon as the when condition contains a newline than the arrow will be wrapped to a separate line.nuhkoca
09/30/2023, 8:35 AMwhen
clause?Paul Dingemans
09/30/2023, 10:06 AM