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

Function teamNames

apps/sim/connectors/grain/grain.ts:189–193  ·  view source on GitHub ↗

* Extracts team names from a recording, dropping blanks.

(recording: GrainRecording)

Source from the content-addressed store, hash-verified

187 * Extracts team names from a recording, dropping blanks.
188 */
189function teamNames(recording: GrainRecording): string[] {
190 return (recording.teams ?? [])
191 .map((t) => t.name?.trim())
192 .filter((name): name is string => Boolean(name))
193}
194
195/**
196 * Extracts user-applied tag labels from a recording, dropping blanks.

Callers 1

buildMetadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected