(dataType: ConnectionType, predicate: (name: string) => 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'); |
| 99 | |
| 100 | export const isTextLikePort = (dataType: PortLike): boolean => |
| 101 | isPrimitiveAnd(normalizePortType(dataType), (name) => name === 'text'); |
no test coverage detected