[][src]Function rustpython_vm::obj::objtype::isinstance

pub fn isinstance<T: TypeProtocol>(obj: &T, cls: &PyClassRef) -> bool

Determines if obj actually an instance of cls, this doesn't call instancecheck, so only use this if cls is known to have not overridden the base instancecheck magic method.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.