Add not operator helper functions #39455
Unanswered
vuvanly
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure it's helpful or not, but I found out that when I don't use not operator
!
the code is more readable. It takes less time to consume the logic of the code.So basically, when we have a logic like that:
It becomes more readable if we have function like that:
It's the first time I make something like that, so please comment your thought.
https://github.com/vuvanly/not-operators-helpers
Beta Was this translation helpful? Give feedback.
All reactions