Learn R Programming

shard (version 0.1.0)

shard_get_adapter: 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)

Value

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

Arguments

x

An R object.

Examples

Run this code
shard_get_adapter(1:10)

Run the code above in your browser using DataLab