阿西河

所有教程

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

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js N-API napi_valuetype

      Node.js N-API napi_valuetype

      typedef enum {
        // ES6 types (corresponds to typeof)
        napi_undefined,
        napi_null,
        napi_boolean,
        napi_number,
        napi_string,
        napi_symbol,
        napi_object,
        napi_function,
        napi_external,
        napi_bigint,
      } napi_valuetype;
      

      Describes the type of a napi_value. This generally corresponds to the types described in

      the ECMAScript Language Specification. In addition to types in that section, napi_valuetype can also represent Functions and Objects with external data.

      A JavaScript value of type napi_external appears in JavaScript as a plain object such that no properties can be set on it, and no prototype.


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


      目录
      本文目录
      目录