hasattr |
| hasattr(object, name) |
Returns True or False depending if the object has this attribute (built-in). |
| object | ?? |
| name | ?? |
| REMARKS |
| * No prefix required - Core * The arguments are an object and a string. The result is True if the string is the name of one of the object's attributes, False if not. (This is implemented by calling getattr(object, name) and seeing whether it raises an AttributeError or not.) * You can use the DELATTR function to * You can use the GETATTR function to * You can use the SETATTR function to * For the Official documentation refer to python.org |
??
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top