Effect CommunityEC
Effect Community2y ago
23 replies
kondaurovdev

Creating a Symbol with Non-Empty Description or String

I want to get symbol with non empty description or non empty string.
this must be simple but I don't know how
type ServiceId = S.Schema.To<typeof ServiceId>;
const ServiceId = S.union(S.symbol, S.NonEmpty);
Was this page helpful?