diff --git a/src/main/kotlin/com/featurevisor/sdk/Instance+Variation.kt b/src/main/kotlin/com/featurevisor/sdk/Instance+Variation.kt index 5a9eb2a..a340c1d 100644 --- a/src/main/kotlin/com/featurevisor/sdk/Instance+Variation.kt +++ b/src/main/kotlin/com/featurevisor/sdk/Instance+Variation.kt @@ -4,7 +4,7 @@ import com.featurevisor.types.Context import com.featurevisor.types.FeatureKey import com.featurevisor.types.VariationValue -internal fun FeaturevisorInstance.getVariation(featureKey: FeatureKey, context: Context): VariationValue? { +fun FeaturevisorInstance.getVariation(featureKey: FeatureKey, context: Context): VariationValue? { val evaluation = evaluateVariation(featureKey, context) return when { evaluation.variationValue != null -> evaluation.variationValue