LinkedList.hasElements

matches all elements from an array to elements in list, to see if all elements in array are present in the list

If the same element is present at more than one index in array, it won't work

class LinkedList(T)
bool
hasElements
(
T[] nodes
)

Return Value

Type: bool

true if list contains all elements provided in an array, else, false

Meta