doc / ch.tutteli.atrium.domain.builders.creating.changers / FeatureOptions / merge

merge

fun merge(options: FeatureOptions<R>): FeatureOptions<R> (source)

Merges the given options with this object creating a new FeatureOptions where defined properties in options will have precedence over properties defined in this instance.

For instance, this object has defined representationInsteadOfFeature (meaning it is not null) and the given options as well, then the resulting FeatureOptions will have the representationInsteadOfFeature of options.