shard_get_adapter: Get Adapter for an Object

View source: R/adapter.R

shard_get_adapterR Documentation

Get Adapter for an Object

Description

Retrieves the registered adapter for an object's class. Checks all classes in the object's class hierarchy, returning the first matching adapter.

Usage

shard_get_adapter(x)

Arguments

x

An R object.

Value

The adapter list if one is registered for any of the object's classes, or NULL if no adapter is registered.

Examples

shard_get_adapter(1:10)

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