MCPcopy Create free account
hub / github.com/microsoft/tslib / __classPrivateFieldIn

Function __classPrivateFieldIn

tslib.es6.js:290–293  ·  view source on GitHub ↗
(state, receiver)

Source from the content-addressed store, hash-verified

288}
289
290export function __classPrivateFieldIn(state, receiver) {
291 if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
292 return typeof state === "function" ? receiver === state : state.has(receiver);
293}
294
295export default {
296 __extends,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected