MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / isArrayOfString

Function isArrayOfString

Extension/src/common.ts:346–348  ·  view source on GitHub ↗
(input: any)

Source from the content-addressed store, hash-verified

344}
345
346export function isArrayOfString(input: any): input is string[] {
347 return isArray(input) && input.every(isString);
348}
349
350// Validates whether the given object is a valid mapping of key and value type.
351// EX: {"key": true, "key2": false} should return true for keyType = string and valueType = boolean.

Calls 1

isArrayFunction · 0.85

Tested by

no test coverage detected