Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
prwater authored Feb 10, 2019
1 parent 5b0e113 commit 6aac39c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ A float can finite (e.g. 3.14), infinite (i.e. INF or -INF), or not a number (i.

Only and only the following values are valid representations of boolean values:
* `false`
* int(0)
* string(1) "0"
* bool(false)
* int(0)
* string(1) "0"
* bool(false)
* `true`
* int(1)
* string(1) "1"
* bool(true)
* int(1)
* string(1) "1"
* bool(true)

Hence, only these values can be casted safely to booleans and vice versa.

Expand Down

0 comments on commit 6aac39c

Please sign in to comment.