# merge

> Returns a new [LegacySpanStyle] that is a combination of this style and the given [other] style, or returns `this` when [other] is `null`.

## API Reference

### merge

> Source set: Common

```kotlin
fun merge(other: LegacySpanStyle? = null): LegacySpanStyle
```

Returns a new `LegacySpanStyle` that is a combination of this style and the given `other`
style, or returns `this` when `other` is `null`.
