R/30-api-flexseq-str.R

Defines functions str.flexseq

Documented in str.flexseq

#SO

#' Display Internal Structure of a flexseq
#'
#' @method str flexseq
#' @param object A `flexseq`.
#' @param ... Passed to [utils::str()].
#' @return `NULL`, invisibly.
#' @examples
#' x <- flexseq(a = 1, b = list(k = 2))
#' str(x)
#' @keywords internal
#' @export
str.flexseq <- function(object, ...) {
  utils::str(unclass(object), ...)
  invisible(NULL)
}

Try the Immutables package in your browser

Any scripts or data that you put into this service are public.

Immutables documentation built on April 29, 2026, 1:06 a.m.