Skip to main content
Module

x/python/mod.ts>PyObject#hasAttr

🐍 Python interpreter bindings for Deno.
Go to Latest
method PyObject.prototype.hasAttr
import { PyObject } from "https://deno.land/x/python@0.2.1/mod.ts";

Checks if Python object has an attribute of given name.

Parameters

attr: string