• Checks for the existence of a private field/method/accessor.

    Parameters

    • state: (new (...args) => unknown) | {
          has(o): boolean;
      }

      The class constructor containing the static member, or the WeakMap or WeakSet associated with a private instance member.

    • receiver: unknown

      The object for which to test the presence of the private member.

    Returns boolean

Generated using TypeDoc