Skip to main content

function_builtin_method

Function function_builtin_method 

Source
pub fn function_builtin_method(
    recv: &Value,
    name: &str,
    args: &[Value],
) -> Result<Option<Value>, String>
Expand description

Function.prototype methods (call/apply/bind) plus Symbol.prototype/ generator handling done elsewhere. Returns Ok(None) if name is not one of these (so the caller can try statics).