is_semantic_class: Check Whether an Object Belongs to a Semantic Class

View source: R/semantic_adapter.R

is_semantic_classR Documentation

Check Whether an Object Belongs to a Semantic Class

Description

Test class membership using S3 inherits() and S4 methods::is() fallback. This helper is intended for robust adapter supports() predicates.

Usage

is_semantic_class(obj, class_name)

Arguments

obj

Object to test.

class_name

Class name to check.

Value

TRUE if obj matches class_name; otherwise FALSE.


aisdk documentation built on May 29, 2026, 9:07 a.m.