MCPcopy Index your code
hub / github.com/RustPython/RustPython / instanceof

Method instanceof

crates/wasm/src/js_module.rs:261–263  ·  view source on GitHub ↗
(&self, rhs: PyJsValueRef, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

259
260 #[pymethod]
261 fn instanceof(&self, rhs: PyJsValueRef, vm: &VirtualMachine) -> PyResult<bool> {
262 instance_of(&self.value, &rhs.value).map_err(|err| new_js_error(vm, err))
263 }
264 }
265
266 impl Representable for PyJsValue {

Callers

nothing calls this directly

Calls 1

new_js_errorFunction · 0.85

Tested by

no test coverage detected