# expr to bool is now it's own function\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/bf47cf418af785550f298a519b0dbfa2efcdd3cb)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: bf47cf418af785550f298a519b0dbfa2efcdd3cb

Requested commit: bf47cf418af785550f298a519b0dbfa2efcdd3cb

Commit: bf47cf418af785550f298a519b0dbfa2efcdd3cb

Tree: 0f26e833e7e4a3418c1b73a76cba77d07bd19b81

Author: Jimmi Holst Christensen

Committer: Jimmi Holst Christensen

## Message

```
expr to bool is now it's own function.
* Now while and for loops work on ints and floats, like if statements
* This fixes the loop problem in #813

```

## Parents

- [61ecc486717944ad652cd9442fe35a4cfb9ae1ec](https://git.cafe/gitcafe/zig/commit/61ecc486717944ad652cd9442fe35a4cfb9ae1ec?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/bf47cf418af785550f298a519b0dbfa2efcdd3cb?format=markdown)
