Skip to content

Instantly share code, notes, and snippets.

@SatyaSnehith
Created March 21, 2022 10:57
Show Gist options
  • Save SatyaSnehith/4017ba05ec56b46d23fd1a9724b3bfce to your computer and use it in GitHub Desktop.
Save SatyaSnehith/4017ba05ec56b46d23fd1a9724b3bfce to your computer and use it in GitHub Desktop.
if any one of the variables has null return true
fun hasNull(vararg list: Any?) = null in list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment