TipKeptDecision typedef

TipKeptDecision = ({bool kept, bool showSwitch})

Ergebnis von tipKeptFor: zeigt die Kasse den Schalter, und wird das Trinkgeld gleich behalten?

Implementation

typedef TipKeptDecision = ({bool showSwitch, bool kept});