if [[ "\${myArray[*]}" =~ element ]]; then
        echo 'array contains element'
      fi
      
      
      Shell language logo

      array contains

      Shell public recipes

      Shortcut: array.contains

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.