Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Equality checks
val countries = setOf("Java", "JavaScript", "Swift")
val neighbors = setOf("Swift", "JavaScript", "Java")
println(countries == neighbors) // => true
println(countries === neighbors) // => false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment