nullAsEmpty

inline fun <T, E> State<T, E>?.nullAsEmpty(): State<T, E>