fix: empty string is not a truthy value

pull/175/head
AbdulSamii Ajala 5 years ago committed by GitHub
parent 07143be3b7
commit a337d2f743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,7 @@ We agreed that boolean values are either true or false.
### Truthy values ### Truthy values
- All numbers(positive and negative) are truthy except zero - All numbers(positive and negative) are truthy except zero
- All strings are truthy - All strings are truthy except an empty string ('')
- The boolean true - The boolean true
### Falsy values ### Falsy values

Loading…
Cancel
Save