Provides tools to model data structures in a functional way. The union
module allows simple definitions of tagged unions to model one-of-many possibilities.
This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.
Provides tools to model data structures in a functional way. The union
module allows simple definitions of tagged unions to model one-of-many possibilities.
Provides utilities to define tagged unions.
{
union: require('./union')
}