๐ŸŽ‰ Join our community on Discord โ€” Ask questions, share ideas, and get support!
logo
internal.types.union
Initializing search
    exaloop/codon
    • Get Started
    • Language
    • Libraries
    • Integrations
    • Parallel Programming
    • Labs
    • Developers
    • Blog
    exaloop/codon
      • Installation
      • Usage
      • Options
      • FAQ
      • Changelog
      • Overview
      • Classes
      • Generics
      • Metaprogramming
      • Low-Level Programming
      • Inline LLVM IR
      • Standard Library
      • NumPy
      • API Reference
        • Call Python from Codon
        • Call Codon from Python
        • Create Python Extensions
        • Call C/C++ from Codon
        • Call Codon from C/C++
        • Embed Codon JIT
      • Jupyter
      • Multithreading
      • GPU Programming
      • SIMD Programming
    • Labs
      • Compilation Flow
      • Intermediate Representation
      • Extend Codon
      • Build from Source
      • Contribute
      • Roadmap
    • Blog
    API Reference / Modules / internal / types / union

    internal.types.union

    Standard library module View source
    class Union
    @extend
    class Union[TU]
    
    Extends Union ยท View complete class API โ†’
    Special methods 4
    __getattr__
    __getattr__(self, member: Literal[str])
    
    __call__
    __call__(self, *args, **kwargs)
    
    __repr_default__
    __repr_default__(self)
    
    __format__
    __format__(self, format_spec: str)
    
    Copyright © 2026 Exaloop, Inc.