Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Threema/ThreemaFramework/SharedUI/Utilities/   (Social Medium ©)  Datei vom 26.9.2026 mit Größe 524 B image not shown  

Quelle  SwiftUIUtils.swift   Sprache: JAVA

 

import SwiftUI
import ThreemaMacros

extension View {
    
    public var asAnyView: AnyView {
        AnyView(self)
    }
    
    public func apply(@ViewBuilder _ apply: (Self) -> some View) -> some View {
        apply(self)
    }
    
    public func applyIf(_ condition: Bool, apply: (Self) -> AnyView) -> AnyView {
        condition ? apply(self) : asAnyView
    }
    
    public func applyIf(_ condition: Bool, apply: (Self) -> some View) -> some View {
        condition ? apply(self).asAnyView : asAnyView
    }
}

Messung
CHZG
839910094

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.