%% %CopyrightBegin%
%%
%% SPDX-License-Identifier: Apache-2.0
%%
%% Copyright Ericsson AB 2021-2025. All Rights Reserved.
%%
%% %CopyrightEnd%

[;1m  nodes(Arg)[0m

  Returns a list of nodes according to the argument specified. The
  returned result, when the argument is a list, is the list of nodes
  satisfying the disjunction(s) of the list elements.

  [;;4mNodeType[0ms:

   • [;;4mvisible[0m - Nodes connected to this node through normal
     connections.

   • [;;4mhidden[0m - Nodes connected to this node through hidden
     connections.

   • [;;4mconnected[0m - All nodes connected to this node.

   • [;;4mthis[0m - This node.

   • [;;4mknown[0m - Nodes that are known to this node. That is,
     connected nodes and nodes referred to by process
     identifiers, port identifiers, and references located on
     this node. The set of known nodes is garbage collected.
     Notice that this garbage collection can be delayed. For more
     information, see [;;4merlang:system_info(delayed_node_table_gc)[0m.

  Some equalities: [;;4m[node()] = nodes(this)[0m, [;;4mnodes(connected) =[0m
  [;;4mnodes([visible, hidden])[0m, and [;;4mnodes() = nodes(visible)[0m.
