I think that’s Linux-only, right?
But it's not. It's a bash built in pseudo file. So it should work in bash on other operating systems.
Not a fan of limiting scripts with bashisms. I like them to be runnable under zsh and similar shells despite having /usr/bin/env bash, /bin/bash, /bin/sh shebang.
What other cool use cases could it achieve besides checking if a domain is reachable?