VariantN.coerce

Returns the value stored in the VariantN object, explicitly converted (coerced) to the requested type T. If T is a string type, the value is formatted as a string. If the VariantN object is a string, a parse of the string to type T is attempted. If a conversion is not possible, throws a VariantException.

struct VariantN(size_t maxDataSize, AllowedTypesParam...)
@property
T
coerce
(
T
)
()

Meta