py_has_attr: Check if a Python object has an attribute

Description Usage Arguments Value

View source: R/python.R

Description

Check whether a Python object x has an attribute name.

Usage

1

Arguments

x

A python object.

name

The attribute to be accessed.

Value

TRUE if the object has the attribute name, and FALSE otherwise.


Mormukut11/R-interface-to-Python documentation built on May 21, 2019, 9:36 a.m.