Function getChildren

  • getChildren(elem: AnyNode): ChildNode[]
  • Get a node's children.

    Returns

    elem's children, or an empty array.

    Parameters

    • elem: AnyNode

      Node to get the children of.

    Returns ChildNode[]