On this page
io.github.libtmux.Options.Options.setIfAbsent
- Module
- io.github.libtmux.Options
- Declared in
- Options
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Options.java
-
Sets one option only if this scope does not already set it.
<p>tmux reports the already-set case as an error, which it is not: declining to overwrite is the whole point of asking. The answer comes back as a value instead.
- Returns
-
whether the value was taken, false when this scope already set the option
0 declared, 0 inherited