notin
From the SETL Wiki
| notin | |
|---|---|
| Category | relational |
| Syntax | infix |
| Compatibility | |
| CIMS SETL | yes |
| SETL-S | yes |
| SETL2 | yes |
| GNU SETL | yes |
Contents |
Purpose
Test for non-membership of a set or tuple
Synopsis
x notin s
Description
Returns false if
Otherwise returns true.
Examples
-
1 notin {1, 2, 3}Result: false
-
4 notin {1, 2, 3}Result: true
-
4 notin [1, om, 3]
Result: true
-
om notin [1, om, 3]
Result: false

