py_has_attr | R Documentation |
Check whether a Python object x
has an attribute
name
.
py_has_attr(x, name)
x |
A python object. |
name |
The attribute to be accessed. |
TRUE
if the object has the attribute name
, and
FALSE
otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.