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

Method is_callable

crates/vm/src/protocol/callable.rs:15–17  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

13
14 #[inline]
15 pub fn is_callable(&self) -> bool {
16 self.to_callable().is_some()
17 }
18
19 /// PyObject_Call*Arg* series
20 #[inline]

Callers 15

castMethod · 0.80
set_sni_callbackMethod · 0.80
set_msg_callbackMethod · 0.80
load_cert_chainMethod · 0.80
writerFunction · 0.80
create_collationMethod · 0.80
set_sni_callbackMethod · 0.80
set__msg_callbackMethod · 0.80
registerMethod · 0.80

Calls 1

to_callableMethod · 0.80

Tested by

no test coverage detected