Effect CommunityEC
Effect Community2y ago
94 replies
mabasic

Creating Discriminants from Struct Properties in Discriminated Unions

How can I make a literal from a struct property to use in a discriminated union? Something like if this field exists then it is a discriminant? I don't know if this makes sense
Was this page helpful?