You can just use `||` here. E.g. `var url = getText(...) || getText(...)`

Otherwise, please flip the `if` comparison to be `variable == literal`