MCPcopy Create free account
hub / github.com/glideapps/quicktype / equals

Function equals

src/Type.ts:34–39  ·  view source on GitHub ↗
(other: any)

Source from the content-addressed store, hash-verified

32 abstract map(builder: TypeBuilder, f: (tref: TypeRef) => TypeRef): TypeRef;
33
34 equals(other: any): boolean {
35 if (!Object.prototype.hasOwnProperty.call(other, "typeRef")) {
36 return false;
37 }
38 return this.typeRef.equals(other.typeRef);
39 }
40
41 hashCode(): number {
42 return this.typeRef.hashCode();

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…