Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if one list contains another list element

boolean var = lis1.stream().anyMatch(element -> list2.contains(element));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #list #list #element
ADD COMMENT
Topic
Name
9+9 =