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 0f5f2f5..140d342 100644
--- a/dev/.documenter-siteinfo.json
+++ b/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2024-12-29T05:40:38","documenter_version":"1.8.0"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.11.2","generation_timestamp":"2025-01-05T05:40:46","documenter_version":"1.8.0"}}
\ No newline at end of file
diff --git a/dev/index.html b/dev/index.html
index 245029d..05e07d2 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 29 December 2024. Using Julia version 1.11.2.