Skip to main content

apply

Function apply 

Source
pub unsafe fn apply(f: Obj, args: &[Obj]) -> Obj
Expand description

Applies closure f to args. Consumes f and the arguments.

With fewer arguments than the function still needs, the result is a new closure. With more, the function’s result is applied to the rest.