Type Definition boa::builtins::function::NativeFunction [−][src]
pub type NativeFunction = fn(_: &JsValue, _: &[JsValue], _: &mut Context) -> JsResult<JsValue>;
Expand description
Type representing a native built-in function a.k.a. function pointer.
Native functions need to have this signature in order to be callable from Javascript.