tmux.Server.GetEnvironment
Go
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust
- Go
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- tmux
- Declared in
- Server
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/environment.go
- Other languages
- Python Ruby Lua TypeScriptRust Java .NET C++ Swift
- GetEnvironment ( ctx : context.Context , name : string ) (EnvironmentValue, bool, error)
-
GetEnvironment returns one non-hidden global environment entry. A missing or hidden variable reports ok false.
In other ports Read one variable from the server's environment
- Python no single-variable read; the whole table is returned
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
server.Server.getEnvironment - Rust
server.Server.environment - Java no single-variable read; the whole table is returned
- .NET no single-variable read; the whole table is returned
- C++ no single-variable read; the whole table is returned
- Swift no single-variable read; the whole table is returned
0 declared, 0 inherited