MCPcopy Create free account
hub / github.com/openai/plugins / stringToArray

Function stringToArray

plugins/shopify/skills/shopify-admin/scripts/validate.mjs:3481–3488  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

3479 }
3480 };
3481 function stringToArray(str) {
3482 const strLength = str.length;
3483 const array = new Array(strLength);
3484 for (let i = 0; i < strLength; ++i) {
3485 array[i] = str.charCodeAt(i);
3486 }
3487 return array;
3488 }
3489 }
3490});
3491

Callers 2

constructorMethod · 0.70
measureMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected