Method FindLast
- Namespace
- Alternet.Common.TypeScript.Types
- Assembly
- Alternet.Common.TypeScript.v9.dll
FindLast(IReadOnlyCollection<Node>, Node, out int, IComparer<Node>)
Finds given node from the node list, starting from the last node.
public static bool FindLast(this IReadOnlyCollection<Node> nodes, Node obj, out int index, IComparer<Node> comparer)
Parameters
nodes
IReadOnlyCollection<Node>List of nodes where to find.
obj
NodeNode to find.
index
intReceive index of the found node in the list.
comparer
IComparer<Node>Object that exposes a method to compare two nodes.
Returns
- bool
True if succeed; otherwise false.