pub(crate) fn set_dictionary_property(
cx: JSContext,
object: Handle<'_, *mut JSObject>,
property: &str,
value: Handle<'_, Value>,
) -> Result<(), ()>
Expand description
Set the property with name property
from object
.
Returns Err(())
on JSAPI failure, or null object,
and Ok(()) otherwise