Skip to main content

JS_IsFunction

Function JS_IsFunction 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_IsFunction( _ctx: *mut JsContext, val: JsValue, ) -> Bool
Expand description

JS_IsFunction: whether the value is callable.

ยงSafety

val must be a live JSValue.