MCPcopy Create free account
hub / github.com/axhlzy/Il2CppHookScripts / IsExactly

Method IsExactly

Il2cppHook/_Ufunc.js:10731–10740  ·  view source on GitHub ↗

Creates a filter which includes `element`s whose type corresponds to `klass` type.

(klass)

Source from the content-addressed store, hash-verified

10729 }
10730 /** Creates a filter which includes `element`s whose type corresponds to `klass` type. */
10731 static IsExactly(klass) {
10732 return (element) => {
10733 if (element instanceof Il2Cpp.Class) {
10734 return element.equals(klass);
10735 }
10736 else {
10737 return element.class.equals(klass);
10738 }
10739 };
10740 }
10741}
10742Il2Cpp.Filtering = Il2CppFiltering;
10743

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.80

Tested by

no test coverage detected