Skip to main content

callee_function

Function callee_function 

Source
pub fn callee_function(value: &Value) -> DogeResult<Rc<FunctionData>>
Expand description

Resolve a callee to the function it names. A class value calls the same way — its fn_id is a constructor arm — so both unwrap to their shared FunctionData. Calling anything else is a catchable TypeError, worded from the caller’s point of view.