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 Nov. 18, 2024, 12:03 p.m.