Skip to main content

scalar_arity

Function scalar_arity 

Source
pub fn scalar_arity(f: FuncId) -> Option<usize>
Expand description

The number of arguments a scalar (non-aggregating, non-lazy) built-in takes when that number is fixed; None for an unknown id. Kept for callers that only need “is this an element-wise built-in”.