overrideStyle

fun overrideStyle(original: StylerDescriptor.SystemStyle, replacement: StylerDescriptor.SystemStyle): (String?) -> String?

Answer a merge function that accepts an existing regional style and clobbers it with replacement iff the existing style is original. The resultant function is suitable for use with styleToken.

Return

The requested merge function.

Parameters

original

The style to replace.

replacement

The replacement style to use for original.