Skip to main content

is_proto_method

Function is_proto_method 

Source
pub fn is_proto_method(name: &str) -> bool
Expand description

Whether name is one of EventEmitter.prototype’s methods (measured: CLASS_PROTO_ARITY, which also makes an alias the method it is, so EventEmitter.prototype.on === EventEmitter.prototype.addListener).