pub fn get_method(type_key: &str, method_name: &str) -> Result<Function>Expand description
Look up a reflected method of a type by type key and method name.
Same as get_method_by_index, but resolves type_key to a type index
first.
§Arguments
type_key- The type key of the type that owns the method.method_name- The name of the method.
§Returns
The reflected method.
§Errors
Returns a TypeError if the type or the method does not exist.