assignedNodes

fun assignedNodes(options: AssignedNodesOptions = definedExternally): ReadonlyArray<Node>(source)

The assignedNodes() method of the HTMLSlotElement interface returns a sequence of the nodes assigned to this slot.

MDN Reference