# io.github.libtmux.kotlin.Options.setIfAbsent

- **Module:** io.github.libtmux.kotlin
- **Package:** io.github.libtmux:libtmux-kotlin
- **Language:** Kotlin
- **Kind:** method
- **Source:** https://libtmux.org/en/kotlin/latest/reference/sources/libtmux-kotlin/build/generated/sources/operations/kotlin/io/github/libtmux/kotlin/OptionsOperations.kt
- **Page:** https://libtmux.org/en/kotlin/latest/reference/io-github-libtmux-kotlin-options-setifabsent/

```
public suspend fun Options.setIfAbsent(name: String, `value`: String): Boolean
```

Sets one option only if this scope does not already set it.

## Parameters

- `name` (`String`)
- `` `value` `` (`String`)
