Skip to content

napi: rename 'promise' parameter to 'value'

This change makes it clear that the value doesn't need to be a Promise, and makes the signature consistent with other napi_is_* functions.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading