Skip Navigation
Instance MethodMethod

isEnabled(_:)

Returns whether a feature switch is on.

func isEnabled(_ flag: ThemeFeatureFlag) -> Bool

Parameters

flag

The feature switch to query.

Return Value

The value set by the theme, or the switch’s default value.