You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not the first time I have seen conditions like this in the source code: "".isEmpty or !"".isEmpty (example here).
Help me understand what this means and what it is for?
Yes, I created this question here because otherwise this secret cannot be solved.
Expected Behavior
At least something logical *literally at this moment I felt cognitive dissonance*
Actual Behavior
Obviously something is weird because this condition cannot be variable, the same as writing true or false.
The text was updated successfully, but these errors were encountered:
Checklist
Description
This is not the first time I have seen conditions like this in the source code:
"".isEmpty
or!"".isEmpty
(example here).Help me understand what this means and what it is for?
Yes, I created this question here because otherwise this secret cannot be solved.
Expected Behavior
At least something logical *literally at this moment I felt cognitive dissonance*
Actual Behavior
Obviously something is weird because this condition cannot be variable, the same as writing
true
orfalse
.The text was updated successfully, but these errors were encountered: