Skip to main content

instance_has_method

Function instance_has_method 

Source
pub fn instance_has_method(tag: &str, name: &str) -> bool
Expand description

Whether name is a method of a native instance tagged tag. Used by get_property so a method read (server.listen.apply(...), the express listen path) yields a bound method rather than undefined — the method is still dispatched through instance_call when the bound method is invoked.