Class VariantCoercion
Applies Delphi-compatible Variant type coercion rules, promoting two operands to a common base type before comparison or arithmetic and raising on invalid combinations.
Inherited Members
Namespace: Reportman.Reporting
Assembly: Reportman.Reporting.dll
Syntax
public static class VariantCoercion
Methods
View SourceCoercion(ref Variant, ref Variant)
Declaration
public static bool Coercion(ref Variant value1, ref Variant value2)
Parameters
| Type | Name | Description |
|---|---|---|
| Variant | value1 | |
| Variant | value2 |
Returns
| Type | Description |
|---|---|
| bool |