Nested ternary operators... though, because of how TypeScript does constants, I saw why they used this way of doing things so often.