MCPcopy Create free account
hub / github.com/Noumena-Network/code / isStringArray

Function isStringArray

src/utils/markdown/nativeFencedCodeRenderer.ts:209–214  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

207}
208
209function isStringArray(value: unknown): value is NativeFencedCodeRendererLines {
210 return (
211 Array.isArray(value) &&
212 value.every(item => typeof item === 'string')
213 )
214}
215
216export function renderNativeFencedCode(
217 code: string,

Callers 1

renderNativeFencedCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected