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

Function checkValue

Il2cppHook/_Ufunc.js:8327–8343  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

8325 }
8326 }
8327 function checkValue(value) {
8328 if (value.length == 3) {
8329 if (typeof value[0] !== "string")
8330 return false;
8331 if (typeof value[1] !== "string")
8332 return false;
8333 if (typeof value[2] !== "number")
8334 return false;
8335 }
8336 for (let i = 0; i < value.length; i++) {
8337 if (value.length != 3) {
8338 if (typeof value[i] !== "string")
8339 return false;
8340 }
8341 }
8342 return true;
8343 }
8344};
8345exports.checkPointer = checkPointer;
8346globalThis.checkPointer = exports.checkPointer;

Callers 1

checkPointerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected