private_length: Gets the length of an object without dispatching

.lengthR Documentation

Gets the length of an object without dispatching

Description

Gets the length of an object without dispatching

Usage

.length(x)

Arguments

x

Any R object.

Details

This function returns length(unclass(x)), but tries to avoid calling unclass(x) unless necessary.

Value

A non-negative integer.

See Also

.subset() and .subset2().


HenrikBengtsson/future documentation built on Nov. 20, 2024, 10:53 a.m.