Skip to main content

is_callable

Function is_callable 

Source
pub fn is_callable<'a>(
    node: &Node<'a>,
    code: &[u8],
    ancestors: Ancestors<'a, '_>,
) -> bool
Expand description

Whether node is a callable owner of the construct — a named function, for Checker::is_func_with_code — under its gate.