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

Function joinTagArray

apps/sim/connectors/utils.ts:58–61  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

56 * Returns the joined string if non-empty, undefined otherwise.
57 */
58export function joinTagArray(value: unknown): string | undefined {
59 const arr = Array.isArray(value) ? (value as string[]) : []
60 return arr.length > 0 ? arr.join(', ') : undefined
61}
62
63/**
64 * Normalizes a multi-value sourceConfig field into a trimmed, deduplicated string array.

Callers 15

google-forms.tsFile · 0.90
azure-devops.tsFile · 0.90
confluence.tsFile · 0.90
grain.tsFile · 0.90
linear.tsFile · 0.90
gmail.tsFile · 0.90
asana.tsFile · 0.90
youtube.tsFile · 0.90
wordpress.tsFile · 0.90
granola.tsFile · 0.90
gitlab.tsFile · 0.90
google-drive.tsFile · 0.90

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected