Skip to main content

is_void_procedure

Function is_void_procedure 

Source
pub fn is_void_procedure(registered: Option<&Procedure>, name: &str) -> bool
Expand description

Whether the procedure behind name declares no return columns — the one void-procedure fact, so the CALL contract validator and the redundant-OPTIONAL notification detector cannot drift.

registered is the caller’s own lookup of a user-registered procedure, which shadows the built-in: it answers from its yield_names, the built-in from the one signature table. A name that is neither is not a procedure, and is not void.