Contains Procedure

Checks whether a set contains a given key.
Declaration
function Contains(
set as Set of T, key as T
) as Boolean

Parameters

Return value

Boolean — True if the set contains the key, false otherwise.

Example

Code
dim set mySet
yield "aaa"
yield "bbb"
end dim
print Contains(mySet, "aaa")
print Contains(mySet, "ccc")
Output
true
false