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))])
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.