JanetDocsPlaygroundI'm feeling luckyGitHub sign in

os/which



    cfunction

    (os/which)

    Check the current operating system. Returns one of:

    * :windows

    * :macos

    * :web - Web assembly (emscripten)

    * :linux

    * :freebsd

    * :openbsd

    * :netbsd

    * :posix - A POSIX compatible system (default)

    May also return a custom keyword specified at build time.


1 exampleSign in to add an example
Loading...
(os/which)  # => :macos
cellularmitosisPlayground