pub unsafe fn argument(value: JsValue) -> Option<Value>Expand description
Decode an argument a C caller passed in.
A reference-counted value is a box this crate produced; the clone keeps the engine value
alive independently, so nothing has to be freed here. argv entries are borrowed by
the C API’s convention and must not be released by us.
§Safety
value must be a JSValue from this crate, and a reference-counted one must be live.