Skip to main content

builtin_body_set

Function builtin_body_set 

Source
fn builtin_body_set(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

body<-(fn, value) — set the body of a closure.

@param fn function whose body to replace @param value new body expression @return modified function @namespace base