I inherited a project that included a code in the form of !!someVar, as far as I can think, this is a double negation and would be the same as just using someVar instead, am I wrong?
@ashleyfreemanAug 11.2022 — #It's just a quick way to convert any type of variable to a boolean. The variable is first evaluated as boolean and set to the opposite and then set back to the original boolean value.