Negate

if ! false; then
  echo 'Yes!'
fi
if [[ ! "$x" == 'abc' ]]; then
  echo 'Yes!'
fi
if [[ "$x" != 'abc' ]]; then
  echo 'Yes!'
fi