grow food, not lawn.

Skip to content

"nested_alter" and update of "nested_update"

Russell Ballestrini requested to merge github/fork/Salfiii/master into master

Created by: Salfiii

Like stated in the pull request before, I added some tests for the nested_update functionality.

I also included a nested_alter function, which used the advanced nested_update capabilities to alter all occurences of a key - or keys - with a provided callback function.

The provided tests show you how it works.

Merge request reports