Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/python/src/python.ts>PyObject#hasAttr

๐Ÿ Python interpreter bindings for Deno.
Go to Latest
method PyObject.prototype.hasAttr
import { PyObject } from "https://deno.land/x/python@0.3.1/src/python.ts";

Checks if Python object has an attribute of given name.

Parameters

attr: string