pub fn is_proto_method(name: &str) -> boolExpand 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).