Server SDKs
Build AI agents, control calls, send messages, and more
Check whether a POM section with the given title exists.
The section heading to look for.
boolean — true if the section exists.
boolean
true
1import { PromptManager } from '@signalwire/sdk';23const pm = new PromptManager();4pm.addSection('Role', { body: 'You are a support agent.' });56console.log(pm.hasSection('Role')); // true7console.log(pm.hasSection('Rules')); // false