(source: PortLike, target: PortLike)
| 92 | }; |
| 93 | |
| 94 | export const arePortTypesCompatible = (source: PortLike, target: PortLike): boolean => |
| 95 | comparePortTypes(normalizePortType(source), normalizePortType(target)); |
| 96 | |
| 97 | const isPrimitiveAnd = (dataType: ConnectionType, predicate: (name: string) => boolean): boolean => |
| 98 | isPrimitive(dataType) && predicate(dataType.name ?? 'text'); |
no test coverage detected