File: py_has_attr.Rd

package info (click to toggle)
r-cran-reticulate 1.41.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,088 kB
  • sloc: cpp: 5,154; python: 620; sh: 13; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{py_has_attr}
\alias{py_has_attr}
\title{Check if a Python object has an attribute}
\usage{
py_has_attr(x, name)
}
\arguments{
\item{x}{A python object.}

\item{name}{The attribute to be accessed.}
}
\value{
\code{TRUE} if the object has the attribute \code{name}, and
\code{FALSE} otherwise.
}
\description{
Check whether a Python object \code{x} has an attribute
\code{name}.
}