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

Function isValidAddressArray

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

Source from the content-addressed store, hash-verified

34}
35
36function isValidAddressArray(inputArray: string[]): boolean {
37 if (typeof inputArray[0] === "string") {
38 return true;
39 }
40 return false;
41}
42
43function isValidStringArray(inputArray: string[]): boolean {
44 if (typeof inputArray[0] === "string") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected