has method

bool has(
  1. Object target,
  2. Object propertyKey
)

Equivalent to propertyKey in target.

Implementation

_i2.bool has(
  _i2.Object target,
  _i2.Object propertyKey,
) =>
    _i3.callMethod(
      this,
      'has',
      [
        target,
        propertyKey,
      ],
    );