``` val index = defLists.indexOf(lastParent).takeU...
# getting-started
h
Copy code
val index = defLists.indexOf(lastParent).takeUnless { it == -1 } ?: return null
defLists                                                                       
        .subList(0, index)                                                     
        .filterIsInstance<MList>()      
       // etc...