MCPcopy Create free account
hub / github.com/melonjs/melonJS / isStringArray

Function isStringArray

packages/melonjs/src/utils/utils.ts:128–135  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

126}
127
128export const isStringArray = (value: unknown): value is string[] => {
129 return (
130 Array.isArray(value) &&
131 value.every((element) => {
132 return typeof element === "string";
133 })
134 );
135};

Callers 1

save.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected