sym">os/which</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/0d9e999/src/core/os.c#L118">source</a></span> <pre class="binding-text">(os/which)

Check the current operating system. Returns one of:

* :windows

* :mingw

* :cygwin

* :macos

* :web - Web assembly (emscripten)

* :linux

* :freebsd

* :openbsd

* :netbsd

* :dragonfly

* :bsd

* :posix - A POSIX compatible system (default)

May also return a custom keyword specif