Created
May 17, 2020 11:08
-
-
Save TungVdMiichi/1c0a4e01d5ee1f492a975f57e7985e7b 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 totalLikes = items.reduce(0, {$0 + $1.numberOfLike}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment