Project

General

Profile

Scripting Operators » History » Version 18

Per Amundsen, 10/22/2015 03:55 PM

1 1 Per Amundsen
h1. Scripting Operators
2
3
<pre>
4
===
5
ismatch
6
ison
7
isop
8
ishop
9
issop
10
isowner
11
isvoice
12
ischan
13
isreg
14
isban
15
isinvite
16
isexcept
17
isignore
18 9 Per Amundsen
isurl
19 3 Per Amundsen
!ismatch
20
!ison
21
!isop
22
!ishop
23
!issop
24
!isowner
25
!isvoice
26
!ischan
27
!isreg
28
!isban
29
!isinvite
30 1 Per Amundsen
!isexcept
31 3 Per Amundsen
!isignore
32
!isurl
33 9 Per Amundsen
</pre>
34 1 Per Amundsen
35 10 Per Amundsen
h2. Math Comparison Operators
36 13 Per Amundsen
37 10 Per Amundsen
|_.Syntax |_.Name |_<.Result |
38
 |=. <notextile>%x == %y</notextile>
39 11 Per Amundsen
<notextile>%x = %y</notextile>
40 12 Per Amundsen
<notextile>%x != %y</notextile>
41 16 Per Amundsen
<notextile>%x !== %y</notextile>
42 12 Per Amundsen
<notextile>%x < %y</notextile>
43
<notextile>%x > %y</notextile>
44
<notextile>%x <= %y</notextile>
45
<notextile>%x >= %y</notextile>
46
<notextile>%x // %y</notextile>
47
<notextile>%x \\ %y</notextile>
48
<notextile>%x & %y</notextile>
49
 |^. Equal
50 15 Per Amundsen
Equal
51 1 Per Amundsen
Not equal
52 16 Per Amundsen
Not equal
53 10 Per Amundsen
Less than
54
Greater than
55
Less than or equal to
56
Greater than or equal to
57
Multiple Of (Divides)
58
Not Multiple Of (Not Divides)
59
Bitwise And
60
 |^. True, if %x is equal to %y.
61
True, if %x is equal to %y.
62 16 Per Amundsen
True, if %x is not equal to %y.
63 10 Per Amundsen
True, if %x is not equal to %y.
64
True, if %x is strictly less than %y.
65
True, if %x is strictly greater than %y.
66
True, if %x is less than or equal to %y.
67
True, if %x is greater than or equal to %y.
68
True, if %x divides %y.
69
True, if %x does not divides %y.
70
True, if (bit representation of) %x AND %y is a none zero.
71 14 Per Amundsen
 |
72 17 Per Amundsen
73
h2. String Comparison Operators
74
75
|_.Syntax |_.Name |_<.Result |
76
 |=. %x isin %y
77
%x isincs %y
78
%x iswm %y
79
%x iswmcs %y
80
%x isnum
81
%x isnum N
82
%x isnum N-
83
%x isnum N-M
84
%x isletter
85
%x isletter N
86
%x isalnum
87
%x isalpha
88
%x islower
89
%x isupper
90
 |^. Is In
91
Is In (case sensitive)
92
Wildcard Matching
93
Wildcard Matching (case sensitive)	
94
Is Digit
95
Is Digit, Equal to
96
Is Digit, Greater than or equal to
97
Is Digit, in Range
98
Is a Letter
99
Is a Letter In A List
100
Alphanumeric Characters
101
Alphabetic Characters
102
All lower case letters
103
All upper case letters
104
 |^. True, if %x is fully found inside %y.
105
True, if %x is fully found inside (case sensitive) %y.
106
True, if wildcard string %x matches %y.
107
True, if wildcard string %x matches (case sensitive) %y.
108
True, if %x is a number.
109
True, if %x is number N.
110
True, if %x is number N or greater.
111
True, if %x is a number between N and M (inclusively).
112
True, if %x is a letter.
113
True, if %x is a letter in a list of letters.
114
True, if %x contains only alphabetic or numeric characters.
115
True, if %x contains only alphabetic characters.
116
True, if %x contains only lower case letters.
117
True, if %x contains only upper case letters.
118
 |