Commit 5e025c7
stream: replace manual function validation with validateFunction
Replace repetitive manual function type checking with the existing
validateFunction in multiple stream operator functions.
PR-URL: #59529
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Mattias Buelens <mattias@buelens.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 1a93df8 commit 5e025c7
1 file changed
+6
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 69 | + | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
| |||
223 | 220 | | |
224 | 221 | | |
225 | 222 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
| 223 | + | |
230 | 224 | | |
231 | 225 | | |
232 | 226 | | |
| |||
241 | 235 | | |
242 | 236 | | |
243 | 237 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
| 238 | + | |
248 | 239 | | |
249 | 240 | | |
250 | 241 | | |
| |||
254 | 245 | | |
255 | 246 | | |
256 | 247 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 248 | + | |
261 | 249 | | |
262 | 250 | | |
263 | 251 | | |
| |||
277 | 265 | | |
278 | 266 | | |
279 | 267 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
| 268 | + | |
284 | 269 | | |
285 | 270 | | |
286 | 271 | | |
| |||
0 commit comments