Function javascriptcore_sys::JSValueToObject [] [src]

pub unsafe extern "C" fn JSValueToObject(
    ctx: JSContextRef,
    value: JSValueRef,
    exception: *mut JSValueRef
) -> JSObjectRef

Converts a JavaScript value to object and returns the resulting object.

Returns the JSObject result of conversion, or NULL if an exception is thrown.