Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-types / isCompatibleSecretType

Function: isCompatibleSecretType()

isCompatibleSecretType(a, b): boolean

Defined in: packages/chaingraph-types/src/port/base/secret.ts:282

Parameters

a

"string" | "openai" | "0g" | "anthropic" | "gemini" | "coinmarketcap" | "deepseek" | "groq" | "moonshot" | "xAPI" | "xApp" | "OkxDexApi" | "alchemy"

b

"string" | "openai" | "0g" | "anthropic" | "gemini" | "coinmarketcap" | "deepseek" | "groq" | "moonshot" | "xAPI" | "xApp" | "OkxDexApi" | "alchemy"

Returns

boolean

Licensed under BUSL-1.1