Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Type Method

buildEither(second:)

iOS 26.0+ Mac Catalyst 26.0+ macOS 26.0+ tvOS 26.0+ visionOS 26.0+ watchOS 26.0+
Build either branch for if-else statements (second branch).
static func buildEither<F>(second fragment: F) -> F where F : LoggerFragment