length.shard_descriptor: Length of a shard_descriptor Object

View source: R/shards.R

length.shard_descriptorR Documentation

Length of a shard_descriptor Object

Description

Length of a shard_descriptor Object

Usage

## S3 method for class 'shard_descriptor'
length(x)

Arguments

x

A shard_descriptor object.

Value

An integer scalar giving the number of shards.

Examples

sh <- shards(100, block_size = 25)
length(sh)

shard documentation built on April 3, 2026, 9:08 a.m.