-
eg. if `email` is null, returns `Not Found` instead, else returns email property.
```kotlin
customer.email?:'Not Found'
```
-
hello world
-
I know that the `?:` is not standard, but llvm/clang supports it, afaik. But somehow it seems to convert the type
```
bschubert2@imesrv6 test>cat elvis.cpp
enum my_status_t {
MY_SUCCESS = 0,…
-
Thanks again for your extraordinary work.
You said that adding new operator is difficult because of no extension points at that stage. What about the elvis ?: operator, better known as null coalescing…
-
Elvis is the Erlang style reviewer (https://github.com/inaka/elvis).
Many use elvis to enforce code style (me included). There are rules related to text formatting, such as:
- [Line Length](http…
-
_Перенос предложения:_ голоса +34, -5
_Автор идеи:_ **Jovibor**
https://en.wikipedia.org/wiki/Elvis_operator
```cpp
auto ptr = func() ?: otherPtr;`
```
Вместо:
```cpp
auto ptr = func() ?…
-
Is the elvis operator supported now in pebble?
Example to avoid nullness
```
Let's say a = null;
{{ a ?: "Hello "}}
Then Hello will be printed since a is null
```
-
## Bug Description
`no_nested_try_catch` reports a warning on a `try…catch` block that's not really _nested_ within another.
## To Reproduce
Run Elvis on the following module:
```erlang
-…
-
Figuring out how to interface the ELVIS board I/O ports to LabView control inputs
-
`elvis.on` is currently only using `addEventListener`, which is not cross-browser compatible.