# greet

fun greet(options: [GreetingOptions](<https://rasmuskard.github.io/rn-cross-platform-docs/kotlin/expo-greeter/expo.modules.greeter/-greeting-options/index.md>)): [String](<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>)

Returns a greeting such as `"Hello, world."`.

```kotlin
val options = GreetingOptions().apply {
  name = "Ada"
  excited = true
}
Greeter.greet(options) // "Hello, Ada!"
```
