7 lines
179 B
TypeScript
7 lines
179 B
TypeScript
export function isPromptTypingSuppressionActive(
|
|
isPromptInputActive: boolean,
|
|
inputValue: string,
|
|
): boolean {
|
|
return isPromptInputActive || inputValue.trim().length > 0
|
|
}
|