UNPKG

@synapsecns/widget

Version:
9 lines (8 loc) 455 B
/** * Checks if any of the chain IDs in `hasChains` are found within the `chainList` array. * * @param {number[]} chainList - The array of chain IDs to check against. * @param {number[]} hasChains - The array of chain IDs to find within `chainList`. * @returns {boolean} - True if any chain ID from `hasChains` is found in `chainList`, otherwise false. */ export declare const isChainIncluded: (chainList: number[], hasChains: number[]) => boolean;