Contains item or word?

contains? collection item
contains? word1 word2
containsp collection item
containsp word1 word2

Returns true the collection contains item or word1 includes word2. Otherwise returns false.

Example:

"a := {1 2 3}
print contains? :a 5

"w := "abcd
print contains? :w "b

"n := 12.3
print contains? :n 2

Output:

False
True
True

See also:

Operations on words
Operations on data sets
Mathematical operations

Table of Content