FeatureUtil

public enum FeatureUtil

The util object to get feature flag info.

  • A structure that defines the name of a feature.

    See more

    Declaration

    Swift

    public struct Name : RawRepresentable, ExpressibleByStringLiteral
  • Whether or not a flag is enabled.

    Declaration

    Swift

    public static func isEnabled(for feature: Name) -> Bool
  • Setter for a feature flag.

    Declaration

    Swift

    public static func setEnabled(
        for feature: Name,
        isEnabled: Bool
    )