0
2
llucycodes42
Shortcut: array.contains
array.contains
0 Comments
if [[ "\${myArray[*]}" =~ element ]]; then echo 'array contains element' fi