This commit is contained in:
periish 2021-07-28 18:32:25 +02:00 committed by GitHub
commit 2c104989f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -912,7 +912,7 @@ $ true
```
## Check if a number is an integer
Note: This does not work in `zsh`, or `zsh` invoked as `sh`, as `printf %d` called with a string in zsh simply prints 0 rather than erroring.
**Example Function:**
```sh