private_length: Gets the length of an object without dispatching

Description Usage Arguments Details Value See Also

Description

Gets the length of an object without dispatching

Usage

1

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/globals documentation built on Dec. 9, 2019, 12:20 p.m.