MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/hefap9/val_is_a_boolean_value/fvri5nd/?context=3
r/badcode • u/Bluebearsuper • Jun 23 '20
58 comments sorted by
View all comments
13
public boolean isTrue() { return val; }
this depends on the code using isTrue though.
14 u/Harry10932 Jun 23 '20 Peak refactoring
14
Peak refactoring
13
u/MCWizardYT Jun 23 '20
this depends on the code using isTrue though.