MCPcopy Create free account
hub / github.com/Project-DARC/DARC / isValidStringArray

Function isValidStringArray

darc-js/src/SDK/opcodes/utils.ts:43–48  ·  view source on GitHub ↗
(inputArray: string[])

Source from the content-addressed store, hash-verified

41}
42
43function isValidStringArray(inputArray: string[]): boolean {
44 if (typeof inputArray[0] === "string") {
45 return true;
46 }
47 return false;
48}
49
50function areArriesWithSameLength(...arrays: any[][]): boolean {
51 const length = arrays[0].length;

Calls

no outgoing calls

Tested by

no test coverage detected