MCPcopy Create free account
hub / github.com/ShipSecAI/studio / isList

Function isList

frontend/src/utils/portUtils.ts:44–44  ·  view source on GitHub ↗
(dataType: ConnectionType)

Source from the content-addressed store, hash-verified

42 dataType?.kind === 'primitive';
43
44const isList = (dataType: ConnectionType): dataType is ListPort => dataType?.kind === 'list';
45
46const isMap = (dataType: ConnectionType): dataType is MapPort => dataType?.kind === 'map';
47

Callers 3

comparePortTypesFunction · 0.85
isListOfTextPortFunction · 0.85
describePortTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected