Learn R Programming

reticulate (version 1.38.0)

is_py_object: 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)

Value

TRUE or FALSE.

Arguments

x

An R or Python.