SIGN IN SIGN UP

Improve readability of isValidElementType (#19251)

* improve readability

* replace condition by switch/case

* replace condition by switch/case

* remove unnecessary braces

* replace switch/case to ifs

* replace switch/case to ifs

* fix by multiline if statements

* fix multiple if statements
B
Behnam Mohammadi committed
77e872217c7f4044ae4f96dd99bf999efb601040
Parent: 7b0ef42
Committed by GitHub <noreply@github.com> on 7/8/2020, 6:25:24 PM