LANGUAGE » SHELL_SCRIPT » FISH » COMMANDS
Contains
Usage
fish
contains OPTIONS KEY LIST
For example:
fish
set fruits apple orange grapes banana
if contains orange $fruits
echo 'We have oranges!'
end