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