mathjs
mathjs copied to clipboard
`transform` should accept and compose multiple transforms
Per discussion here, it would be great to be able to pass multiple transforms to the transform function and have them be composed
e.g.
myNode.transform(transform1, transform2)
myNode.transform([transform1, transform2])
which would be equivalent to
myNode.transform(node => transform1(transform2(node))
or
myNode
.transform(transform1)
.transform(transform2)
Happy to take this on, just adding a task for it here in the mean time
Thanks for the clear description, this would be a neat, flexible improvement.