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

Function isMap

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

Source from the content-addressed store, hash-verified

44const isList = (dataType: ConnectionType): dataType is ListPort => dataType?.kind === 'list';
45
46const isMap = (dataType: ConnectionType): dataType is MapPort => dataType?.kind === 'map';
47
48const isContract = (dataType: ConnectionType): dataType is ContractPort =>
49 dataType?.kind === 'contract';

Callers 2

comparePortTypesFunction · 0.85
describePortTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected