(func: &str)
| 992 | } |
| 993 | |
| 994 | pub fn is_library_api(func: &str) -> bool { |
| 995 | get_func_gadget(func).is_some() |
| 996 | } |
| 997 | |
| 998 | pub fn get_func_gadget(func: &str) -> Option<&'static FuncGadget> { |
| 999 | get_func_gadgets().iter().find(|x| x.name == func) |
no test coverage detected