napiGetNamedProperty function

  1. @Available.new(napi: 1)
  2. @Native<Int32 Function(NapiEnv, NapiValue, Pointer<Char>, Pointer<NapiValue>)>(NapiEnv, NapiValue, Pointer<Char>, Pointer<NapiValue>)>(symbol: 'napi_get_named_property')
int napiGetNamedProperty(
  1. NapiEnv env,
  2. NapiValue object,
  3. Pointer<Char> utf8name,
  4. Pointer<NapiValue> result,
)

Implementation

@Available(napi: 1)
@Native<Int32 Function(NapiEnv, NapiValue, Pointer<Char>, Pointer<NapiValue>)>(
  symbol: 'napi_get_named_property',
)
external int napiGetNamedProperty(
  NapiEnv env,
  NapiValue object,
  Pointer<Char> utf8name,
  Pointer<NapiValue> result,
);