Rdocumentation
powered by
Learn R Programming
reticulate (version 0.7)
py_has_attr: Check if a Python object has an attribute
Description
Check if a Python object has an attribute
Usage
py_has_attr(x, name)
Arguments
x
Python object
name
Attribute name
Value
Logical indicating whether it has the specified attribute