<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SliderTickBuilder/buildEither(second:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17SliderTickBuilderV11buildEither6secondAA19_ConditionalContentVyqd__qd_0_Gqd_0__t5ValueQyd__RszAA0cdJ0Rd__AaKRd_0_4BodyQyd_0_ALRtd__r0_lFZ"
  },
  "title" : "buildEither(second:)"
}
-->

# buildEither(second:)

Produces content for a conditional statement in a multi-statement closure
when the condition is false.

```
@export(implementation) static func buildEither<T, F>(second: F) -> _ConditionalContent<T, F> where V == T.Value, T : SliderTickContent, F : SliderTickContent, T.Body == F.Body
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)