Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Property

IsUnion

val IsUnion: bool

Declaring type: TypeInfo
Module: System.Introspection
Assembly: System.Runtime.dll
Source file: Descriptors.rvn

Defined by TypeInfo.IsUnion · Required implementation (no default).

Interface implementation: Required implementation (no default).

Tests whether the represented type has structural union identity.

Property value

Boolean

Remarks

Nominal union declarations and their cases return false. Guest UnionTypeInfo and IntersectionTypeInfo construction requires the experimental interpreter and matching source library. Member and hierarchy queries remain unsupported.