Created
May 2, 2021 03:57
-
-
Save yosshi4486/d67c5d9275b46f538c5f89afa8ea2151 to your computer and use it in GitHub Desktop.
ImageCode of CanMove.
This file contains hidden or 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
| extension Array where Element == List { | |
| func canMove(into otherContainer: List) -> Bool { | |
| return allSatisfy({ $0.canMove(into: otherContainer) }) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment