matchTrigger): strings default to normalized equals, RegExps run on the
raw body, predicates are opaque.
Parameters
Returns
TriggerInfo
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Function exported by @botmesh/core.
function describeTrigger(trigger): TriggerInfo;
matchTrigger): strings default to normalized equals, RegExps run on the
raw body, predicates are opaque.
| Parameter | Type |
|---|---|
trigger | Trigger |
TriggerInfo
describeTrigger({ pattern: 'factura', match: 'contains', scope: 'dm' }).label
// → 'contains "factura" (dm only)'