Function getChildrenObjects

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

    Parameters

    • node: object

      Object to get the list of children from.

    • Optionaloptions: { 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.

    Returns ReadonlySet<object>

    A readonly observable set with the children.