Skip to content

PromptScript API


Function: isPortableHookInterpreter()

isPortableHookInterpreter(value): value is "python3" | "python" | "node" | "deno" | "bun" | "ruby" | "php" | "perl" | "bash" | "sh" | "zsh" | "pwsh" | "powershell"

Defined in: core/src/hook-capabilities.ts:361

Parameters

value

string

Returns

value is "python3" | "python" | "node" | "deno" | "bun" | "ruby" | "php" | "perl" | "bash" | "sh" | "zsh" | "pwsh" | "powershell"