Skip to main content

is_ours

Function is_ours 

Source
pub fn is_ours(value: JsValue) -> bool
Expand description

Whether a C value is one this layer produced.

Cheap enough to call on every incoming argument, and the answer to “is this a JSValue from a foreign implementation”, which mixing two libquickjss would produce.