MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / isRemoteImageUrl

Function isRemoteImageUrl

packages/codex-native-api/src/codex_app_client.ts:3464–3466  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

3462}
3463
3464function isRemoteImageUrl(value) {
3465 return /^https?:\/\/\S+/iu.test(String(value ?? ''));
3466}
3467
3468function decodeInlineImagePayload(value) {
3469 const raw = String(value ?? '').trim();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected