File: private_length.Rd

package info (click to toggle)
r-cran-future 1.11.1.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,380 kB
  • sloc: sh: 14; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{.length}
\alias{.length}
\title{Gets the length of an object without dispatching}
\usage{
.length(x)
}
\arguments{
\item{x}{Any \R object.}
}
\value{
A non-negative integer.
}
\description{
Gets the length of an object without dispatching
}
\details{
This function returns \code{length(unclass(x))}, but tries to avoid
calling \code{unclass(x)} unless necessary.
}
\seealso{
\code{\link{.subset}()} and \code{\link{.subset2}()}.
}
\keyword{internal}