blob: 257fb92bc3ecd6ec3c43ff91d0add602ae48dc4e (
plain)
1
2
3
|
Following this check blindly in weakly typed code base can create hard to debug issues. If the value
can be something else that is falsey but not a string (for example ``None``, or ``0``), the code will
not be equivalent.
|