Skip to contents

Length of a shard_descriptor_lazy Object

Usage

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

Arguments

x

A shard_descriptor_lazy object.

Value

An integer scalar giving the number of shards.

Examples

sh <- shards(100, block_size = 25)
length(sh)
#> [1] 4