Skip to content

Instantly share code, notes, and snippets.

@amatkivskiy
Last active May 15, 2020 04:38
Show Gist options
  • Save amatkivskiy/fa9b91bfd171be6499903103c635e2db to your computer and use it in GitHub Desktop.
Save amatkivskiy/fa9b91bfd171be6499903103c635e2db to your computer and use it in GitHub Desktop.
fun childFunction(parentObj: Parent) {
// Do whatever needed with child obj
println("child = ${parentObj.child.child?.child?.child}")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment