powered by
Returns the left-hand side if it's not NULL, otherwise returns the right-hand side. This is a utility function used internally by MetaRVM classes.
x %||% y
x if x is not NULL, otherwise y
Left-hand side value
Right-hand side value (default/fallback)
if (FALSE) { user_title <- "User Title" # Internal usage in classes title <- user_title %||% "Default Title" }
Run the code above in your browser using DataLab