init(name:condition:)
Creates a new enabled trait.
Declaration
init(name: String, condition: Package.Dependency.Trait.Condition? = nil)Parameters
- name:
The name of the enabled trait.
- condition:
The condition under which the trait is enabled.
Creates a new enabled trait.
init(name: String, condition: Package.Dependency.Trait.Condition? = nil)The name of the enabled trait.
The condition under which the trait is enabled.