How to check if a list contains a string?

Use the builtins.elem function, like builtins.elem "a" ["a" "b"] # => true

10 Likes