Function getChildrenNodes

  • Returns all the children nodes (this is, excluding primitives) of a node.

    Parameters

    • node: object

      Node 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 set with the children.