Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for isEqual completion handler #84

Open
Joebayld opened this issue Dec 15, 2017 · 0 comments
Open

Adding support for isEqual completion handler #84

Joebayld opened this issue Dec 15, 2017 · 0 comments

Comments

@Joebayld
Copy link

How hard would it be to add a completion handler for the diff function so the values don't have to be equatable? A library called Diff does this.

For example:

        [1,2,3].diff([3,4,5]) { (old, new) -> Bool in
            return old == new
        }

This would allow me to pass an array of custom models and only check if certain values are equal.

Thanks,
Joe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant