3 ms·
Double exclamation marks force a true value, as opposed to a truthy one. For example: SomethingTruthy => TruthyThing !SomethingTruthy => False !!So
by film42 12y ago
Double exclamation marks force a true value, as opposed to a truthy one. For example:
SomethingTruthy => TruthyThing
!SomethingTruthy => False
!!SomethingTruthy => True