Returns the left hand side if not missing nor NULL, and
the right hand side otherwise.
lhs %??% rhs
Left hand side of the operator. Is returned if not missing or NULL.
Right hand side of the operator. Is returned if lhs is missing or NULL.
Either lhs or rhs.
print(NULL %??% 1 %??% 2)
print(names(iris) %??% letters[seq_len(ncol(iris))])
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.