extendr icon indicating copy to clipboard operation
extendr copied to clipboard

Wrapper structs do not have `inherits()` method

Open JosiahParry opened this issue 3 months ago • 0 comments

Wrapper structs should be able to check for class inheritance. This is not possible today without being an Robj. E.g

fn inherits_dbls(x: Doubles, cls: &str) -> bool {
    x.inherits(cls)
}

JosiahParry avatar Apr 13 '24 15:04 JosiahParry