LightSumTypes.variantof
— Functionvariantof(inst)
Returns the type of the variant enclosed in the sum type.
diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json
index 268815f..b370bbe 100644
--- a/dev/.documenter-siteinfo.json
+++ b/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.11.0","generation_timestamp":"2024-10-11T01:40:04","documenter_version":"1.7.0"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.11.0","generation_timestamp":"2024-10-13T05:41:57","documenter_version":"1.7.0"}}
\ No newline at end of file
diff --git a/dev/index.html b/dev/index.html
index 3503026..ae1acfb 100644
--- a/dev/index.html
+++ b/dev/index.html
@@ -26,4 +26,4 @@
julia> @sumtype AB(A, B)
julia> allvariants(AB)
-(A = A, B = B)source Returns the type of the variant enclosed in the sum type. Returns true if the type is a sum type otherwise returns false.LightSumTypes.variantof
— Functionvariantof(inst)
LightSumTypes.is_sumtype
— Functionis_sumtype(T)
Settings
This document was generated with Documenter.jl version 1.7.0 on Friday 11 October 2024. Using Julia version 1.11.0.