Skip to Content

isSolanaChainList()

isSolanaChainList(chains): chains is string[]

Defined in: utils/chainsUtils.ts:89 

Type guard to check if a chain list contains Solana cluster names.

Parameters

chains

(string | number)[]

Mixed list of chain identifiers.

Returns

chains is string[]

true if the list is non-empty and contains only strings.

Last updated on