getOwnProperty method

bool getOwnProperty(
  1. JSPropertyDescriptor desc,
  2. int prop
)

Implementation

bool getOwnProperty(JSPropertyDescriptor desc, int prop) =>
    JS_GetOwnProperty(_ctx.ref, desc.ref, _ref.ref, prop) != 0;