Created
February 20, 2025 15:19
-
-
Save mutkuensert/d96ed9c3dfa4d52d426b1498e4fbcb67 to your computer and use it in GitHub Desktop.
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
fun <T : Any> T.equalsAtLeastOne(arg1: T? = null, arg2: T? = null, arg3: T? = null): Boolean { | |
return this == arg1 || this == arg2 || this == arg3 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment