has Children With All Names
abstract fun hasChildrenWithAllNames(name: String, vararg names: String, indirectChildren: Boolean = false): Boolean
Determines whether the declaration has children defined directly in the Kotlin file with all the specified names.
Return
true
if there are declarations with all the specified names, false
otherwise.
Parameters
name
The name of the child to check.
names
The names of the children to check.
indirect Children
specifies whether to include children defined in other files such as child of the child.
abstract fun hasChildrenWithAllNames(names: Collection<String>, indirectChildren: Boolean = false): Boolean
Determines whether the declaration has children defined directly in the Kotlin file with all the specified names.
Return
true
if there are declarations with all the specified names, false
otherwise.
Parameters
names
The names of the children to check.
indirect Children
specifies whether to include children defined in other files such as child of the child.