Skip to contents

Guess prototypes for Arrow schemas

Usage

narrow_default_ptype(schema)

Arguments

schema

An narrow_schema()

Value

A zero-length array prototype

Examples

narrow_default_ptype(narrow_schema("n"))
#> logical(0)
narrow_default_ptype(
  narrow_schema("+s", children = list(narrow_schema("i", "colname")))
)
#> [1] colname
#> <0 rows> (or 0-length row.names)