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.


reticulate documentation built on Sept. 11, 2024, 8:31 p.m.