Replies: 1 comment 1 reply
-
A conditional expression can be used to verify if either an or b is true while optimizing the evaluation of b if an is already true. Here's an improved method:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
a
andb
are arbitrary expressions. Does this deserve a new rule?Beta Was this translation helpful? Give feedback.
All reactions