Description Usage Arguments Value
Check whether a Python object x has an attribute
name.
1 | 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.