Skip to main content

Function: getChildrenObjects()

function getChildrenObjects(node, options?): ReadonlySet<object>;

Returns all the children objects (this is, excluding primitives) of an object.

Parameters​

ParameterTypeDescription
nodeobjectObject to get the list of children from.
options?{ deep?: boolean; }An optional object with the deep option (defaults to false) to true to get the children deeply or false to get them shallowly.
options.deep?boolean-

Returns​

ReadonlySet<object>

A readonly observable set with the children.