MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / pickSort

Function pickSort

static/js/utils.js:546–549  ·  view source on GitHub ↗
(value, allowed = [], fallback = '')

Source from the content-addressed store, hash-verified

544 },
545
546 pickSort(value, allowed = [], fallback = '') {
547 const candidate = String(value || '').trim();
548 return allowed.includes(candidate) ? candidate : fallback;
549 },
550};
551
552window.createAdaptivePoller = createAdaptivePoller;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected