MCPcopy
hub / github.com/claude-code-best/claude-code / parseBooleanFrontmatter

Function parseBooleanFrontmatter

src/utils/frontmatterParser.ts:332–334  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

330 * Only returns true for literal true or "true" string.
331 */
332export function parseBooleanFrontmatter(value: unknown): boolean {
333 return value === true || value === 'true'
334}
335
336/**
337 * Shell values accepted in `shell:` frontmatter for .md `!`-block execution.

Callers 3

createPluginCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected