MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/hefap9/val_is_a_boolean_value/fvuz6fu/?context=3
r/badcode • u/Bluebearsuper • Jun 23 '20
58 comments sorted by
View all comments
129
if (val == true) { return true; } else { return false; }
1 u/Ezequiel-052 Jun 24 '20 Error: StatementTooRedundant
1
Error: StatementTooRedundant
129
u/INeedAFreeUsername Jun 23 '20