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 18854a3..1fa27f9 100644
--- a/dev/.documenter-siteinfo.json
+++ b/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.11.3","generation_timestamp":"2025-01-26T05:40:33","documenter_version":"1.8.0"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.11.3","generation_timestamp":"2025-02-02T05:40:13","documenter_version":"1.8.0"}}
\ No newline at end of file
diff --git a/dev/index.html b/dev/index.html
index b63aba9..f167f65 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.8.0 on Sunday 26 January 2025. Using Julia version 1.11.3.