has Children
Whatever declaration has any child defined directly in the Kotlin file.
Return
true if the declaration has any child, false otherwise.
Parameters
indirect Children
specifies whether to include children defined in other files such as child of the child.