is_py_object: Check if x is a Python object

View source: R/RcppExports.R

is_py_objectR Documentation

Check if x is a Python object

Description

Checks if x is a Python object, more efficiently than inherits(x, "python.builtin.object").

Usage

is_py_object(x)

Arguments

x

An R or Python.

Value

TRUE or FALSE.


rstudio/reticulate documentation built on April 20, 2024, 3:17 p.m.