Skip to main content

lambda_fn

Function lambda_fn 

Source
pub fn lambda_fn(args: &[Expr], _ctx: &mut EvalCtx<'_>) -> Value
Expand description

Bare LAMBDA call without immediate invocation (e.g. =LAMBDA() or =LAMBDA(x,x*2) stored in a cell but not called). Returns #N/A per Google Sheets / Excel semantics.

Immediately-invoked LAMBDA (=LAMBDA(x,x*2)(5)) is handled by eval_apply in eval/mod.rs via the Expr::Apply AST node.