Created
November 16, 2022 11:56
-
-
Save between40and2/00b11512996a89040b6a1da5c35bb9fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let bear = Array("bear") | |
let bird = Array("bird") | |
let diff = bird.difference(from: bear) | |
let newBird = bear.applying(diff) | |
print(diff) | |
print(newBird) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment