Skip to content

Interface: Container<T>

Type parameters

Name
T

Implemented by

Table of contents

Methods

Methods

addChild

addChild(child): T

Parameters

NameType
childT

Returns

T


contains

contains(child): boolean

Parameters

NameType
childT

Returns

boolean


getChildren

getChildren(): T[]

Returns

T[]


hasChild

hasChild(child): boolean

Parameters

NameType
childT

Returns

boolean


removeAllChildren

removeAllChildren(): T

Returns

T


removeChild

removeChild(child): T

Parameters

NameType
childT

Returns

T