pub unsafe fn is_promise( env: Env, value: Value, result: *mut bool, ) -> Result<(), Status>
sys
napi-1
napi_is_promise