79807835

Date: 2025-11-03 11:57:29
Score: 5
Natty:
Report link

Is it possible to return a variable in the if (condition)? Like doing if (var variable = SomeFunction() != null) return variable;.

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (0.5):
Posted by: Bamsen