ArchiveObject.getChild

Gets an child by name.

Notes: While multiple children with the same name can be added, only the first one with the given ArchiveObject.name will be used via ArchiveObject.getChild.

class ArchiveObject
getChild
(
string name
,
lazy ArchiveObject default_ = null
)

Parameters

name string

The name of the child.

default_ ArchiveObject

The value to return if no child with name exists.

Return Value

Either the child called name, or default_.

Meta