R/last.r

#' @export
last <- function(x) UseMethod("last")


#' @export 
last.default <- function(x) tail(x,1)

#'@export 
last.list <- function(x) x[[ length(x) ]]
dwinter/MoreUtils documentation built on May 15, 2019, 6:21 p.m.