MCPcopy Create free account
hub / github.com/TanStack/ai / isProvider

Function isProvider

examples/ts-react-chat/src/sandbox-triage.ts:238–240  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

236}
237
238export function isProvider(value: unknown): value is ProviderName {
239 return typeof value === 'string' && value in PROVIDERS
240}
241
242/**
243 * Whether to use the host's logged-in Claude Code subscription instead of an API

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected