MCPcopy Index your code
hub / github.com/simstudioai/sim / actionOutput

Function actionOutput

apps/sim/tools/emailbison/utils.ts:228–235  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

226}
227
228export function actionOutput(value: unknown): { success: boolean; message: string | null } {
229 const record = toRecord(value)
230
231 return {
232 success: record.success === true,
233 message: toStringOrNull(record.message),
234 }
235}
236
237export const leadOutputs = {
238 id: { type: 'number', description: 'Lead ID' },

Calls 2

toRecordFunction · 0.85
toStringOrNullFunction · 0.70

Tested by

no test coverage detected