MCPcopy
hub / github.com/mongodb/node-mongodb-native / enumToString

Function enumToString

src/utils.ts:1013–1015  ·  view source on GitHub ↗
(en: Record<string, unknown>)

Source from the content-addressed store, hash-verified

1011 * Takes a JS object and joins the values into a string separated by ', '
1012 */
1013export function enumToString(en: Record<string, unknown>): string {
1014 return Object.values(en).join(', ');
1015}
1016
1017/**
1018 * Determine if a server supports retryable writes.

Callers 2

buildCommandDocumentMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected