Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Append one value of same type to array.
func += <T>(left: inout [T], right: T) {
left.append(right)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.