Skip to content

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

Type Method

buildEither(first:)

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 (first branch).
static func buildEither<F>(first fragment: F) -> F where F : LoggerFragment