阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js N-API napi_has_own_property

      Node.js N-API napi_has_own_property

      新增于: v8.2.0 N-API version: 1 napi_status napi_has_own_property(napi_env env, napi_value object, napi_value key, bool* result); [in] env: The environment that the N-API call is invoked under. [in] object: The object to query. [in] key: The name of the own property whose existence to check. [out] result: Whether the own property exists on the object or not. Returns napi_ok if the API succeeded.

      This API checks if the Object passed in has the named own property. key must be a string or a Symbol, or an error will be thrown. N-API will not perform any conversion between data types.


      更多内容请参考:Node.js N-API,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录