Closed ahrjarrett closed 4 months ago
Latest commit: bf5df0f9967d373c39e0dab416866d77ed1e0d7f
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
"any-ts" v0.46.0
new features
match
, a namespace for advanced pattern matchingany.functions
to describe any array of functionsbreaking changes
a few members of the
some
namespace behave differently than before:some.keyOf
: this change was made to support a homomorphicobject.map
function that operates on both arrays and objects, preserves structure in either case.An example implementation:
some.entryOf
slightly different semantics to support a polymorphicobject.entries
functionsome.valueOf
slightly different semantics to support a polymorphicobject.values
function