JanetDocsSign in with Github

os/getenv



    cfunction

    (os/getenv variable &opt dflt)
    
    Get the string value of an environment variable.


1 exampleSign in to add an example
Loading...
(os/getenv "TERM") # => "xterm-256color"
sogaiu