Skip to main content

set_nargout

Function set_nargout 

Source
pub fn set_nargout(n: usize)
Expand description

Sets the number of output values requested by the calling assignment statement.

Called by exec_stmts before evaluating the RHS expression, so that multi-output built-ins (eig, svd, lu, qr) can determine whether to return a full Value::Tuple or a single value.