Back to Filament

getFeatureFlag

docs/android/dokka/filament-android/com.google.android.filament/-engine/get-feature-flag.md

1.75.0759 B
Original Source

//filament-android/com.google.android.filament/Engine/getFeatureFlag

getFeatureFlag

[main]
open fun getFeatureFlag(name: String): Boolean

Retrieves the value of any feature flag.

Return

the value of the flag if it exists

Parameters

main

namename of the feature flag

Throws

IllegalArgumentExceptionis thrown if the feature flag doesn't exist