Commit b02251e
Simplify RawValue container type checks (#53508)
Summary:
Pull Request resolved: #53508
Simplify the expressions for checking a type of a container by always returning instead of falling through and returning.
Changelog: [Internal]
Reviewed By: sammy-SC
Differential Revision: D81230049
fbshipit-source-id: 02fd827462c9acf05a83bf88ed6bd0e6db55ebc81 parent a44c5a0 commit b02251e
File tree
1 file changed
+4
-21
lines changed- packages/react-native/ReactCommon/react/renderer/core
1 file changed
+4
-21
lines changedLines changed: 4 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 276 | | |
281 | | - | |
| 277 | + | |
282 | 278 | | |
283 | 279 | | |
284 | 280 | | |
| |||
294 | 290 | | |
295 | 291 | | |
296 | 292 | | |
297 | | - | |
298 | 293 | | |
299 | 294 | | |
300 | 295 | | |
| |||
303 | 298 | | |
304 | 299 | | |
305 | 300 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | 301 | | |
311 | | - | |
| 302 | + | |
312 | 303 | | |
313 | 304 | | |
314 | 305 | | |
| |||
324 | 315 | | |
325 | 316 | | |
326 | 317 | | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | 318 | | |
332 | | - | |
| 319 | + | |
333 | 320 | | |
334 | 321 | | |
335 | 322 | | |
| |||
352 | 339 | | |
353 | 340 | | |
354 | 341 | | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | 342 | | |
360 | | - | |
| 343 | + | |
361 | 344 | | |
362 | 345 | | |
363 | 346 | | |
| |||
0 commit comments