Skip to content

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

Function: areTypesCompatible()

areTypesCompatible(source, target): boolean

Defined in: packages/chaingraph-types/src/port/transfer-rules/utils/port-resolver.ts:68

Check if two port configurations have compatible types

Parameters

source

IPortConfig

target

IPortConfig

Returns

boolean

Licensed under BUSL-1.1