GetTypeOfBoxInterfaceExtension<K, T> extension
Extension to determine the BoxType of a BoxInterface at runtime.
This is useful for introspection and for generic code that needs to branch based on the type of box (e.g., for optimizations or diagnostics).
- on
-
- BoxInterface<
K, T>
- BoxInterface<
Properties
- type → BoxType
-
Available on BoxInterface<
Returns the BoxType of this box instance.K, T> , provided by the GetTypeOfBoxInterfaceExtension extensionno setter