| charport_class_of | R Documentation |
Identifies whether a registered ALTREP class claims 'x'. This is a class-membership question answered without touching the vector's data: it never materializes 'x' and reports a match even when the class reader would decline to serve this particular instance (for example, a materialized 'charvec').
charport_class_of(x)
x |
a character vector. |
'"package::class"' for a registered class match when class metadata is available; otherwise 'NA_character_'.
charport_class_of(charvec("a"))
charport_class_of(letters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.