Contents

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.