orElse

infix fun ExportRule?.orElse(exportRule: (ExportRuleScope) -> ExportRule?): ExportRule?

Provides a fallback mechanism when an optional rule is null.