beyondgrader.com Logo
DemoBrowseAboutTeamLogin

String Equality

Geoffrey Challen // 2020.9.0

Let's continue our practice with Kotlin Strings. Write a function called isEqual that takes two nullable String arguments. It should return true if they are both null or equal, and false otherwise.

Don't overthink this! If you are using a loop or writing more than a few lines of code, review the String documentation.