1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
<?php
declare(strict_types=1);
namespace Webmozart\Assert;
/** @internal Used by the Psalm plugin */
final class HasAssert
{
public const HAS_ASSERT = [
'string' => true,
'nullorstring' => true,
'allstring' => true,
'allnullorstring' => true,
'stringnotempty' => true,
'nullorstringnotempty' => true,
'allstringnotempty' => true,
'allnullorstringnotempty' => true,
'integer' => true,
'nullorinteger' => true,
'allinteger' => true,
'allnullorinteger' => true,
'integerish' => true,
'nullorintegerish' => true,
'allintegerish' => true,
'allnullorintegerish' => true,
'positiveinteger' => true,
'nullorpositiveinteger' => true,
'allpositiveinteger' => true,
'allnullorpositiveinteger' => true,
'notnegativeinteger' => true,
'nullornotnegativeinteger' => true,
'allnotnegativeinteger' => true,
'allnullornotnegativeinteger' => true,
'negativeinteger' => true,
'nullornegativeinteger' => true,
'allnegativeinteger' => true,
'allnullornegativeinteger' => true,
'float' => true,
'nullorfloat' => true,
'allfloat' => true,
'allnullorfloat' => true,
'numeric' => true,
'nullornumeric' => true,
'allnumeric' => true,
'allnullornumeric' => true,
'natural' => true,
'nullornatural' => true,
'allnatural' => true,
'allnullornatural' => true,
'boolean' => true,
'nullorboolean' => true,
'allboolean' => true,
'allnullorboolean' => true,
'scalar' => true,
'nullorscalar' => true,
'allscalar' => true,
'allnullorscalar' => true,
'object' => true,
'nullorobject' => true,
'allobject' => true,
'allnullorobject' => true,
'objectish' => true,
'nullorobjectish' => true,
'allobjectish' => true,
'allnullorobjectish' => true,
'resource' => true,
'nullorresource' => true,
'allresource' => true,
'allnullorresource' => true,
'iscallable' => true,
'nulloriscallable' => true,
'alliscallable' => true,
'allnulloriscallable' => true,
'isarray' => true,
'nullorisarray' => true,
'allisarray' => true,
'allnullorisarray' => true,
'isarrayaccessible' => true,
'nullorisarrayaccessible' => true,
'allisarrayaccessible' => true,
'allnullorisarrayaccessible' => true,
'iscountable' => true,
'nulloriscountable' => true,
'alliscountable' => true,
'allnulloriscountable' => true,
'isiterable' => true,
'nullorisiterable' => true,
'allisiterable' => true,
'allnullorisiterable' => true,
'isinstanceof' => true,
'nullorisinstanceof' => true,
'allisinstanceof' => true,
'allnullorisinstanceof' => true,
'notinstanceof' => true,
'allnullornotinstanceof' => true,
'isinstanceofany' => true,
'nullorisinstanceofany' => true,
'allisinstanceofany' => true,
'allnullorisinstanceofany' => true,
'isnotinstanceofany' => true,
'nullorisnotinstanceofany' => true,
'allisnotinstanceofany' => true,
'allnullorisnotinstanceofany' => true,
'isaof' => true,
'nullorisaof' => true,
'allisaof' => true,
'allnullorisaof' => true,
'isnota' => true,
'allnullorisnota' => true,
'isanyof' => true,
'nullorisanyof' => true,
'allisanyof' => true,
'allnullorisanyof' => true,
'isempty' => true,
'nullorisempty' => true,
'allisempty' => true,
'allnullorisempty' => true,
'notempty' => true,
'allnullornotempty' => true,
'null' => true,
'allnull' => true,
'notnull' => true,
'true' => true,
'nullortrue' => true,
'alltrue' => true,
'allnullortrue' => true,
'false' => true,
'nullorfalse' => true,
'allfalse' => true,
'allnullorfalse' => true,
'notfalse' => true,
'allnullornotfalse' => true,
'uniquevalues' => true,
'nulloruniquevalues' => true,
'alluniquevalues' => true,
'allnulloruniquevalues' => true,
'lower' => true,
'nullorlower' => true,
'alllower' => true,
'allnullorlower' => true,
'upper' => true,
'allnullorupper' => true,
'classexists' => true,
'nullorclassexists' => true,
'allclassexists' => true,
'allnullorclassexists' => true,
'subclassof' => true,
'nullorsubclassof' => true,
'allsubclassof' => true,
'allnullorsubclassof' => true,
'interfaceexists' => true,
'nullorinterfaceexists' => true,
'allinterfaceexists' => true,
'allnullorinterfaceexists' => true,
'implementsinterface' => true,
'nullorimplementsinterface' => true,
'allimplementsinterface' => true,
'allnullorimplementsinterface' => true,
'validarraykey' => true,
'nullorvalidarraykey' => true,
'allvalidarraykey' => true,
'allnullorvalidarraykey' => true,
'islist' => true,
'nullorislist' => true,
'allislist' => true,
'allnullorislist' => true,
'isnonemptylist' => true,
'nullorisnonemptylist' => true,
'allisnonemptylist' => true,
'allnullorisnonemptylist' => true,
'ismap' => true,
'nullorismap' => true,
'allismap' => true,
'allnullorismap' => true,
'isnonemptymap' => true,
'allnullorisnonemptymap' => true,
];
}
|