MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / sortObjectToArray

Function sortObjectToArray

lib/edge-runtime/utils.ts:386–394  ·  view source on GitHub ↗
(
  obj: Record<string, ValueType>,
)

Source from the content-addressed store, hash-verified

384}
385
386export function sortObjectToArray<ValueType>(
387 obj: Record<string, ValueType>,
388): ValueType[] {
389 return Object.keys(obj)
390 .sort()
391 .map(function (key) {
392 return obj[key];
393 });
394}
395
396export function hideMostRecentFunctionOutputs(
397 chatHistory: GPTMessageInclSummary[],

Callers 2

BertieFunction · 0.90
AngelaFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected