Here is an example of an associative array:
declare -A contains=(
['sass']=exist")
I wish to check if 'sass' is present in a variable. So my next line is:
if [[ '????' = 'sass' ]]
etc
etc
However, i not sure what to put in the if statement to check the first part of the associative array.
Any help is appreciated, Thanks!