[x] ran tests locally with npm test (I would like some help to come up with a proper test for this new function, but from the implementation it looks kinda obvious it should work)
[ ] updated CHANGELOG.md if appropriate (I don't know how should I update the changelog, should I create a minor version?)
npm test
(I would like some help to come up with a proper test for this new function, but from the implementation it looks kinda obvious it should work)This PR comes from an issue I opened here #174