MCPcopy Create free account
hub / github.com/apitable/apitable / arrayValueToString

Method arrayValueToString

packages/core/src/model/field/link_field.ts:343–345  ·  view source on GitHub ↗

* @description concatenates the strings obtained by recordId. * Several records may be associated with one associated cell at the same time * @param {(any[] | null)} cellValues * @returns

(cellValues: any[] | null)

Source from the content-addressed store, hash-verified

341 * @returns
342 */
343 arrayValueToString(cellValues: any[] | null) {
344 return cellValues && cellValues.length ? cellValues.join(', ') : null;
345 }
346
347 cellValueToString(recordIds: string[] | null): string | null {
348 if (!recordIds) {

Callers 4

cellValueToStringMethod · 0.95
unitIdsToStringFunction · 0.45
cellValueToStringFunction · 0.45
transformNodeValueMethod · 0.45

Calls 1

joinMethod · 0.65

Tested by

no test coverage detected