Skip to content

Instantly share code, notes, and snippets.

@dtrailin
Last active September 3, 2016 01:24
Show Gist options
  • Select an option

  • Save dtrailin/4906cc572bd42ccd07e23dee7dde7629 to your computer and use it in GitHub Desktop.

Select an option

Save dtrailin/4906cc572bd42ccd07e23dee7dde7629 to your computer and use it in GitHub Desktop.
val school : School = null
if (school != null && school.students != null){
doSomething(school.students.get(“billy”))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment