# Updated ascii.zig's isWhitespace function to use switch instead of for loop\. \(\#22094\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 88d57917b7df1f0c59d27a923bd564f5d21f7846

Requested commit: 88d57917b7df1f0c59d27a923bd564f5d21f7846

Commit: 88d57917b7df1f0c59d27a923bd564f5d21f7846

Tree: b5ac0fd5e5f995ffbd720fa15a71181a3dee8b44

Author: Rohan Vashisht

Committer: GitHub

## Message

```
Updated ascii.zig's isWhitespace function to use switch instead of for loop. (#22094)


```

## Parents

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

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