Skip Navigation
InitializerInitializer

init(path:defaultValue:isHonoured:)

Creates a feature switch description.

init(
    path: [String],
    defaultValue: Bool,
    isHonoured: Bool
)

Parameters

path

The keys below features that lead to the switch value.

defaultValue

The value assumed when a theme does not set the switch.

isHonoured

Whether swift-docc-static acts on the switch.