Function: isGeneratedByPromptScript()¶
isGeneratedByPromptScript(
content):boolean
Defined in: core/src/utils/markers.ts:41
Check whether content starts with a PromptScript generation marker.
Only the head of the file is inspected so markers quoted inside prose are not mistaken for a generation marker.
Parameters¶
content¶
string
File content to inspect
Returns¶
boolean
True when the file was produced by PromptScript